UnnamedUnknownx1234987789489 commited on
Commit
ae9a3b7
1 Parent(s): 52eb5dd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -113,7 +113,7 @@ def main():
113
  if klausti_btn:
114
  with st.spinner("Galvojama"):
115
  try:
116
- await handle_userinput(user_question, custom_graph)
117
  except Exception as e:
118
  st.write(f"Error: {e}")
119
 
 
113
  if klausti_btn:
114
  with st.spinner("Galvojama"):
115
  try:
116
+ asyncio.run(handle_userinput(user_question, custom_graph))
117
  except Exception as e:
118
  st.write(f"Error: {e}")
119