radinhas commited on
Commit
c671a86
1 Parent(s): 646b59b

Update apis/chat_api.py

Browse files
Files changed (1) hide show
  1. 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
- "return_full_text": True,
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(