AEUPH commited on
Commit
79de0b3
·
verified ·
1 Parent(s): 5f5249d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -48,7 +48,7 @@ def chatbot_api(input_text):
48
  st.title("Chatbot Interface")
49
 
50
  # Fetch the URL parameter
51
- query_params = st.query_params()
52
  auto_submit_text = query_params.get("input_text", [None])[0]
53
 
54
  # Check if there's an input from URL parameter and auto-submit
 
48
  st.title("Chatbot Interface")
49
 
50
  # Fetch the URL parameter
51
+ query_params = st.query_params
52
  auto_submit_text = query_params.get("input_text", [None])[0]
53
 
54
  # Check if there's an input from URL parameter and auto-submit