Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -12,6 +12,6 @@ prompt = st.chat_input("Say something to our #CodeWars bot...")
|
|
| 12 |
if prompt:
|
| 13 |
st.write(f"{datetime.datetime.now()} :red[{option}:] ", prompt)
|
| 14 |
|
| 15 |
-
response = requests.get("https://dummyjson.com/products/1").
|
| 16 |
|
| 17 |
st.write(f"{datetime.datetime.now()} :red[Bot:] ", response)
|
|
|
|
| 12 |
if prompt:
|
| 13 |
st.write(f"{datetime.datetime.now()} :red[{option}:] ", prompt)
|
| 14 |
|
| 15 |
+
response = requests.get("https://dummyjson.com/products/1").text
|
| 16 |
|
| 17 |
st.write(f"{datetime.datetime.now()} :red[Bot:] ", response)
|