monipip3 commited on
Commit
4db0674
·
1 Parent(s): 17cc8ad

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -43,7 +43,7 @@ answer_span = inputs["input_ids"][0][start_idx:end_idx]
43
  answer = tokenizer.decode(answer_span)
44
 
45
 
46
- if len(question) > 5:
47
- st.write(f"Answer: {answer}")
48
- else:
49
- st.write('Please ask a longer question about the Amazon')
 
43
  answer = tokenizer.decode(answer_span)
44
 
45
 
46
+ #if len(question) > 5:
47
+ st.write(f"Answer: {answer}")
48
+ #else:
49
+ #st.write('Please ask a longer question about the Amazon')