sreepathi-ravikumar commited on
Commit
e1c797d
·
verified ·
1 Parent(s): 1adc756

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -24,7 +24,7 @@ def ask_question():
24
 
25
  # Save to file
26
  with open("/tmp/answer.txt", "w", encoding='utf-8') as f:
27
- f.write(answer)
28
  return jsonify({"question": question, "answer": answer})
29
 
30
  except Exception as e:
 
24
 
25
  # Save to file
26
  with open("/tmp/answer.txt", "w", encoding='utf-8') as f:
27
+ f.write(answer)
28
  return jsonify({"question": question, "answer": answer})
29
 
30
  except Exception as e: