shukdevdatta123 commited on
Commit
afc753f
·
verified ·
1 Parent(s): 156e346

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +17 -1
app.py CHANGED
@@ -101,7 +101,8 @@ if openai_api_key:
101
  "Voice Chat",
102
  "Image Chat",
103
  "English To Japanese",
104
- "Text to Image Generator"
 
105
  ))
106
 
107
  # Add Contact information in the sidebar
@@ -472,3 +473,18 @@ if openai_api_key:
472
  st.write("Redirecting to the Text to Image Generator...") # You can customize this message
473
  st.markdown(f'<a href="https://shukdevdatta123-image-generator-dall-e3.hf.space" target="_blank">Go to Text to Image Generator</a>', unsafe_allow_html=True)
474
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
101
  "Voice Chat",
102
  "Image Chat",
103
  "English To Japanese",
104
+ "Text to Image Generator",
105
+ "Graph Tutorial"
106
  ))
107
 
108
  # Add Contact information in the sidebar
 
473
  st.write("Redirecting to the Text to Image Generator...") # You can customize this message
474
  st.markdown(f'<a href="https://shukdevdatta123-image-generator-dall-e3.hf.space" target="_blank">Go to Text to Image Generator</a>', unsafe_allow_html=True)
475
 
476
+ # **New Section: Graph Tutorial**
477
+ elif mode == "Graph Tutorial":
478
+ st.header("Graph Tutorial")
479
+
480
+ # Display a description or instructions
481
+ st.write("Click the button below to go to Graph Tutorial.")
482
+
483
+
484
+ gif = "200w.gif" # Ensure the file is in the correct directory
485
+ st.image(gif, use_container_width=150) # Adjust the size as per preference
486
+
487
+ # Button to navigate to the external voice chat link
488
+ if st.button("Go to Graph Tutorial"):
489
+ st.write("Redirecting to Graph Tutorial...") # You can customize this message
490
+ st.markdown(f'<a href="https://shukdevdatta123-networkx-tutorial.hf.space" target="_blank">Go to Text to Image Generator</a>', unsafe_allow_html=True)