wop commited on
Commit
2e81294
·
verified ·
1 Parent(s): 651d41d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -22,7 +22,7 @@ def ask_question(question):
22
  1.2, # Repetition penalty
23
  api_name="/chat"
24
  )
25
- answer = result["data"]
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: