updated messaging around keys
Browse files
app.py
CHANGED
@@ -105,12 +105,16 @@ def set_visible_false():
|
|
105 |
def set_visible_true():
|
106 |
return gr.update(visible=True)
|
107 |
|
108 |
-
title = """<h1 align="center">🔥GPT4 with ChatCompletions API +🚀Gradio-Streaming</h1>"""
|
|
|
|
|
|
|
|
|
109 |
|
|
|
110 |
#display message for themes feature
|
111 |
-
theme_addon_msg = """<center>🌟
|
112 |
-
|
113 |
-
"""
|
114 |
|
115 |
#Using info to add additional information about System message in GPT4
|
116 |
system_msg_info = """A conversation could begin with a system message to gently instruct the assistant.
|
|
|
105 |
def set_visible_true():
|
106 |
return gr.update(visible=True)
|
107 |
|
108 |
+
#title = """<h1 align="center">🔥GPT4 with ChatCompletions API +🚀Gradio-Streaming</h1>"""
|
109 |
+
#display message for themes feature
|
110 |
+
#theme_addon_msg = """<center>🌟 Discover Gradio Themes with this Demo, featuring v3.22.0! Gradio v3.23.0 also enables seamless Theme sharing. You can develop or modify a theme, and send it to the hub using simple <code>theme.push_to_hub()</code>.
|
111 |
+
#<br>🏆Participate in Gradio's Theme Building Hackathon to exhibit your creative flair and win fabulous rewards! Join here - <a href="https://huggingface.co/Gradio-Themes" target="_blank">Gradio-Themes-Party🎨</a> 🏆</center>
|
112 |
+
#"""
|
113 |
|
114 |
+
title = """<h1 align="center">🔥GPT4 using Chat-Completions API & 🚀Gradio-Streaming</h1>"""
|
115 |
#display message for themes feature
|
116 |
+
theme_addon_msg = """<center>🌟 This Demo also introduces you to Gradio Themes. Discover more on Gradio website using our <a href="https://gradio.app/theming-guide/" target="_blank">Themeing-Guide🎨</a>! You can develop from scratch, modify an existing Gradio theme, and share your themes with community by uploading them to huggingface-hub easily using <code>theme.push_to_hub()</code>.</center>
|
117 |
+
"""
|
|
|
118 |
|
119 |
#Using info to add additional information about System message in GPT4
|
120 |
system_msg_info = """A conversation could begin with a system message to gently instruct the assistant.
|