Niansuh commited on
Commit
b0162dc
·
verified ·
1 Parent(s): 9cbde36

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -110,8 +110,8 @@ with gr.Blocks(css = """#col_container { margin-left: auto; margin-right: auto;}
110
  #chatbot {height: 520px; overflow: auto;}""",
111
  theme=theme) as demo:
112
  gr.HTML(title)
113
- gr.HTML("""<h3 align="center">🔥This Huggingface Gradio Demo provides you full access to GPT4o API. 🎉🥳🎉You don't need any OPENAI API key🙌</h1>""")
114
- with gr.Column(elem_id = "col_container"):
115
  #GPT4 API Key is provided by Huggingface
116
  #openai_api_key = gr.Textbox(type='password', label="Enter only your GPT4 OpenAI API key here")
117
  chatbot = gr.Chatbot(elem_id='chatbot') #c
 
110
  #chatbot {height: 520px; overflow: auto;}""",
111
  theme=theme) as demo:
112
  gr.HTML(title)
113
+ 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>""")
114
+ gr.HTML('''<center><a href="https://huggingface.co/spaces/Niansuh/ChatGPT?duplicate=true"><img src="https://bit.ly/3gLdBN6" alt="Duplicate Space"></a>Duplicate the Space and run securely with your OpenAI API Key</center>''') with gr.Column(elem_id = "col_container"):
115
  #GPT4 API Key is provided by Huggingface
116
  #openai_api_key = gr.Textbox(type='password', label="Enter only your GPT4 OpenAI API key here")
117
  chatbot = gr.Chatbot(elem_id='chatbot') #c