SoulAbi commited on
Commit
fb25642
1 Parent(s): 5f90b62

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -1
app.py CHANGED
@@ -107,6 +107,10 @@ def set_visible_true():
107
 
108
  title = """<h1 align="center">🔥GPT4 with ChatCompletions API +🚀Gradio-Streaming</h1>"""
109
 
 
 
 
 
110
 
111
  #Using info to add additional information about System message in GPT4
112
  system_msg_info = """A conversation could begin with a system message to gently instruct the assistant.
@@ -121,7 +125,7 @@ with gr.Blocks(css = """#col_container { margin-left: auto; margin-right: auto;}
121
  gr.HTML(title)
122
  gr.HTML("""<h3 align="center">🔥This Huggingface Gradio Demo provides you full access to GPT4 API (4096 token limit). 🎉🥳🎉You don't need any OPENAI API key🙌</h1>""")
123
  gr.HTML(theme_addon_msg)
124
- gr.HTML('''<center><a href="https://huggingface.co/spaces/SoulAbi/ChatGPT4?duplicate=true"><img src="https://bit.ly/3gLdBN6" alt="Duplicate Space"></a>Duplicate the Space and run securely with your OpenAI API Key</center>''')
125
 
126
  with gr.Column(elem_id = "col_container"):
127
  #GPT4 API Key is provided by Huggingface
 
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>🌟 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>.
112
+ <br>🏆Participate in Gradio's Theme Building Hackathon and compete with SoulAbi 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>
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.
 
125
  gr.HTML(title)
126
  gr.HTML("""<h3 align="center">🔥This Huggingface Gradio Demo provides you full access to GPT4 API (4096 token limit). 🎉🥳🎉You don't need any OPENAI API key🙌</h1>""")
127
  gr.HTML(theme_addon_msg)
128
+ gr.HTML('''<center><a href="https://huggingface.co/spaces/soulabi/ChatGPT4?duplicate=true"><img src="https://bit.ly/3gLdBN6" alt="Duplicate Space"></a>Duplicate the Space and run securely with your OpenAI API Key</center>''')
129
 
130
  with gr.Column(elem_id = "col_container"):
131
  #GPT4 API Key is provided by Huggingface