Spaces:
Running
Running
Update apis/chat_api.py
Browse files- apis/chat_api.py +2 -4
apis/chat_api.py
CHANGED
@@ -185,10 +185,8 @@ class ChatAPIApp:
|
|
185 |
"inputs": item.input_text,
|
186 |
"parameters": {
|
187 |
"src_lang": item.from_language,
|
188 |
-
"tgt_lang": item.to_language
|
189 |
-
|
190 |
-
},
|
191 |
-
"stream": False,
|
192 |
}
|
193 |
enver.set_envs(proxies=True)
|
194 |
stream = requests.post(
|
|
|
185 |
"inputs": item.input_text,
|
186 |
"parameters": {
|
187 |
"src_lang": item.from_language,
|
188 |
+
"tgt_lang": item.to_language
|
189 |
+
}
|
|
|
|
|
190 |
}
|
191 |
enver.set_envs(proxies=True)
|
192 |
stream = requests.post(
|