Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -9,7 +9,7 @@ def call_chatbot_api(query):
|
|
| 9 |
result = response.json()
|
| 10 |
return result['response']
|
| 11 |
|
| 12 |
-
user_query = st.text_input("Enter your
|
| 13 |
with st.spinner("AI Thinking...Please wait a while to Cheers!"):
|
| 14 |
if user_query !="" and not user_query.strip().isspace() and not user_query == "" and not user_query.strip() == "" and not user_query.isspace():
|
| 15 |
response = call_chatbot_api(user_query)
|
|
|
|
| 9 |
result = response.json()
|
| 10 |
return result['response']
|
| 11 |
|
| 12 |
+
user_query = st.text_input("Enter the URL of the webpage your want to summarize:")
|
| 13 |
with st.spinner("AI Thinking...Please wait a while to Cheers!"):
|
| 14 |
if user_query !="" and not user_query.strip().isspace() and not user_query == "" and not user_query.strip() == "" and not user_query.isspace():
|
| 15 |
response = call_chatbot_api(user_query)
|