Update app.py
Browse files
app.py
CHANGED
@@ -203,7 +203,9 @@ if openai_api_key:
|
|
203 |
"English To Japanese",
|
204 |
"Text to Image Generator",
|
205 |
"Graph Tutorial",
|
206 |
-
"Text-To-Diagram-Generator"
|
|
|
|
|
207 |
))
|
208 |
|
209 |
# Add Contact information in the sidebar
|
@@ -603,4 +605,36 @@ if openai_api_key:
|
|
603 |
# Button to navigate to the external voice chat link
|
604 |
if st.button("Go to Text-To-Diagram-Generator"):
|
605 |
st.write("Redirecting to Text-To-Diagram-Generator...") # You can customize this message
|
606 |
-
st.markdown(f'<a href="https://shukdevdatta123-text-2-diagram.hf.space" target="_blank">Go to Text-To-Diagram-Generator</a>', unsafe_allow_html=True)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
203 |
"English To Japanese",
|
204 |
"Text to Image Generator",
|
205 |
"Graph Tutorial",
|
206 |
+
"Text-To-Diagram-Generator",
|
207 |
+
"Multi Modal Omni Chatbot",
|
208 |
+
"GPT-4.5 Preview Chatbot"
|
209 |
))
|
210 |
|
211 |
# Add Contact information in the sidebar
|
|
|
605 |
# Button to navigate to the external voice chat link
|
606 |
if st.button("Go to Text-To-Diagram-Generator"):
|
607 |
st.write("Redirecting to Text-To-Diagram-Generator...") # You can customize this message
|
608 |
+
st.markdown(f'<a href="https://shukdevdatta123-text-2-diagram.hf.space" target="_blank">Go to Text-To-Diagram-Generator</a>', unsafe_allow_html=True)
|
609 |
+
|
610 |
+
# **New Section: Text-To-Diagram-Generator**
|
611 |
+
elif mode == "Multi Modal Omni Chatbot":
|
612 |
+
st.header("Multi Modal Omni Chatbot")
|
613 |
+
|
614 |
+
# Display a description or instructions
|
615 |
+
st.write("Click the button below to go to Multi Modal Omni Chatbot.")
|
616 |
+
|
617 |
+
|
618 |
+
gif = "200w.gif" # Ensure the file is in the correct directory
|
619 |
+
st.image(gif, use_container_width=150) # Adjust the size as per preference
|
620 |
+
|
621 |
+
# Button to navigate to the external voice chat link
|
622 |
+
if st.button("Go to Multi Modal Omni Chatbot"):
|
623 |
+
st.write("Redirecting to Multi Modal Omni Chatbot...") # You can customize this message
|
624 |
+
st.markdown(f'<a href="https://shukdevdatta123-multi-modal-o1-chatbot.hf.space" target="_blank">Go to Multi Modal Omni Chatbot</a>', unsafe_allow_html=True)
|
625 |
+
|
626 |
+
# **New Section: Text-To-Diagram-Generator**
|
627 |
+
elif mode == "GPT-4.5 Preview Chatbot":
|
628 |
+
st.header("GPT-4.5 Preview Chatbot")
|
629 |
+
|
630 |
+
# Display a description or instructions
|
631 |
+
st.write("Click the button below to go to Multi Modal Omni Chatbot.")
|
632 |
+
|
633 |
+
|
634 |
+
gif = "200w.gif" # Ensure the file is in the correct directory
|
635 |
+
st.image(gif, use_container_width=150) # Adjust the size as per preference
|
636 |
+
|
637 |
+
# Button to navigate to the external voice chat link
|
638 |
+
if st.button("Go to GPT-4.5 Preview Chatbot"):
|
639 |
+
st.write("Redirecting to GPT-4.5 Preview Chatbot...") # You can customize this message
|
640 |
+
st.markdown(f'<a href="https://shukdevdatta123-gpt-4-5-multimodal-chatbot.hf.space" target="_blank">Go to GPT-4.5 Preview Chatbot</a>', unsafe_allow_html=True)
|