Jabrain commited on
Commit
cd4675c
·
1 Parent(s): 8d533bc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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
- st.chat_message("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
 
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