Update app.py
Browse files
app.py
CHANGED
|
@@ -184,9 +184,9 @@ if user_input:
|
|
| 184 |
# Display the user input as a chat message or an image
|
| 185 |
with io_container:
|
| 186 |
if input_format == "Text":
|
| 187 |
-
|
| 188 |
else:
|
| 189 |
-
|
| 190 |
|
| 191 |
# Process the user input and generate a response
|
| 192 |
# You can use your own logic or a language model here
|
|
|
|
| 184 |
# Display the user input as a chat message or an image
|
| 185 |
with io_container:
|
| 186 |
if input_format == "Text":
|
| 187 |
+
st.write(f"user: {user_input}")
|
| 188 |
else:
|
| 189 |
+
st.image(user_input, caption="User input")
|
| 190 |
|
| 191 |
# Process the user input and generate a response
|
| 192 |
# You can use your own logic or a language model here
|