binqiangliu commited on
Commit
49a773c
·
1 Parent(s): 8a3d6a9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -6
app.py CHANGED
@@ -113,9 +113,9 @@ if question !="" and not question.strip().isspace() and not question == "" and n
113
  #temp_ai_response=str(initial_response)
114
  #final_ai_response=temp_ai_response.partition('<|end|>')[0]
115
  st.write("AI Response:\n\n"+str(initial_response))
116
- else:
117
- print("Check the Checkbox to get AI Response.")
118
- sys.exit()
119
- else:
120
- print("Please enter your question first.")
121
- st.stop()
 
113
  #temp_ai_response=str(initial_response)
114
  #final_ai_response=temp_ai_response.partition('<|end|>')[0]
115
  st.write("AI Response:\n\n"+str(initial_response))
116
+ #else:
117
+ # print("Check the Checkbox to get AI Response.")
118
+ # sys.exit()
119
+ #else:
120
+ # print("Please enter your question first.")
121
+ # st.stop()