Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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:
|