Spaces:
Runtime error
Runtime error
Aakash Goel
commited on
Commit
·
5148ec6
1
Parent(s):
ab0470d
log code change directory 10
Browse files- code/qa.py +1 -0
code/qa.py
CHANGED
@@ -57,6 +57,7 @@ if raw_text != None and raw_text != '':
|
|
57 |
output_path = "results/df_log_file.tsv"
|
58 |
try:
|
59 |
res_df = pd.DataFrame({"TimeStamp":[str(datetime.datetime.now())],\
|
|
|
60 |
"Input":[str(raw_text)],"Answer":[str(answer["answer"])],"Score":[str(answer["score"])]})
|
61 |
st.write("PASS1")
|
62 |
except:
|
|
|
57 |
output_path = "results/df_log_file.tsv"
|
58 |
try:
|
59 |
res_df = pd.DataFrame({"TimeStamp":[str(datetime.datetime.now())],\
|
60 |
+
"Question":[question],\
|
61 |
"Input":[str(raw_text)],"Answer":[str(answer["answer"])],"Score":[str(answer["score"])]})
|
62 |
st.write("PASS1")
|
63 |
except:
|