shukdevdatta123 commited on
Commit
e369571
·
verified ·
1 Parent(s): 5898856

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -2
app.py CHANGED
@@ -405,7 +405,7 @@ if openai_api_key:
405
 
406
  # Display image/logo in the "Physics Assistant" section (optional)
407
  gif = "200w.gif" # Ensure the file is in the correct directory
408
- st.image(gif, use_column_width=100) # Adjust the size as per preference
409
 
410
  # Button to navigate to the external voice chat link
411
  if st.button("Go to Voice Chat"):
@@ -426,9 +426,14 @@ if openai_api_key:
426
 
427
  # Display image/logo in the "Physics Assistant" section (optional)
428
  gif = "200w.gif" # Ensure the file is in the correct directory
429
- st.image(gif, use_column_width=100) # Adjust the size as per preference
430
 
431
  # Button to navigate to the external voice chat link
432
  if st.button("Go to Image Chat"):
433
  st.write("Redirecting to the image chat...") # You can customize this message
434
  st.markdown(f'<a href="https://imagechat2278.streamlit.app/" target="_blank">Go to Image Chat</a>', unsafe_allow_html=True)
 
 
 
 
 
 
405
 
406
  # Display image/logo in the "Physics Assistant" section (optional)
407
  gif = "200w.gif" # Ensure the file is in the correct directory
408
+ st.image(gif, use_column_width=50) # Adjust the size as per preference
409
 
410
  # Button to navigate to the external voice chat link
411
  if st.button("Go to Voice Chat"):
 
426
 
427
  # Display image/logo in the "Physics Assistant" section (optional)
428
  gif = "200w.gif" # Ensure the file is in the correct directory
429
+ st.image(gif, use_container_width=50) # Adjust the size as per preference
430
 
431
  # Button to navigate to the external voice chat link
432
  if st.button("Go to Image Chat"):
433
  st.write("Redirecting to the image chat...") # You can customize this message
434
  st.markdown(f'<a href="https://imagechat2278.streamlit.app/" target="_blank">Go to Image Chat</a>', unsafe_allow_html=True)
435
+
436
+ # Button to navigate to the alternative app (alternative)
437
+ if st.button("Go to Image Chat (Alternative App)"):
438
+ st.write("Redirecting to the alternative image chat...") # You can customize this message
439
+ st.markdown(f'<a href="https://alternativeimagechat.streamlit.app/" target="_blank">Go to Image Chat (Alternative App)</a>', unsafe_allow_html=True)