Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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.
|
| 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
|