Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -22,7 +22,7 @@ def ask_question(question):
|
|
22 |
1.2, # Repetition penalty
|
23 |
api_name="/chat"
|
24 |
)
|
25 |
-
answer = result
|
26 |
answer = answer[:-4]
|
27 |
data[question] = answer
|
28 |
with open('data.json', 'w') as f:
|
|
|
22 |
1.2, # Repetition penalty
|
23 |
api_name="/chat"
|
24 |
)
|
25 |
+
answer = result
|
26 |
answer = answer[:-4]
|
27 |
data[question] = answer
|
28 |
with open('data.json', 'w') as f:
|