fb700 commited on
Commit
5b774e5
·
1 Parent(s): f04af32

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -118,7 +118,7 @@ def predict(
118
  yield chatbot, history, past_key_values
119
 
120
 
121
- def trans_api(input, max_length=40960, top_p=0.8, temperature=0.2:
122
  if max_length < 10:
123
  max_length = 40960
124
  if top_p < 0.1 or top_p > 1:
 
118
  yield chatbot, history, past_key_values
119
 
120
 
121
+ def trans_api(input, max_length=40960, top_p=0.8, temperature=0.2):
122
  if max_length < 10:
123
  max_length = 40960
124
  if top_p < 0.1 or top_p > 1: