YashB1 commited on
Commit
4c7a823
·
verified ·
1 Parent(s): 0b18730

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -10
app.py CHANGED
@@ -201,16 +201,6 @@ india = gpd.read_file("https://gist.githubusercontent.com/jbrobst/56c13bbbf9d97d
201
  st.session_state.responses.append(response)
202
  show_response(st, response)
203
 
204
- user_comment = st.text_input("Enter your comment:",key = 501)
205
-
206
- check = st.button("Submit",key = 301)
207
-
208
- with open("user_comments.txt", "a") as file:
209
- if check:
210
- # Store the comment in the text file
211
- file.write(user_comment + "\n")
212
- st.success("Comment submitted successfully!")
213
-
214
  if no_response:
215
  print("No response")
216
  st.error(f"Failed to generate right output due to the following error:\n\n{exception}")
 
201
  st.session_state.responses.append(response)
202
  show_response(st, response)
203
 
 
 
 
 
 
 
 
 
 
 
204
  if no_response:
205
  print("No response")
206
  st.error(f"Failed to generate right output due to the following error:\n\n{exception}")