Spaces:
Running
Running
updated messaging for aPI key
Browse files
app.py
CHANGED
|
@@ -112,7 +112,7 @@ with gr.Blocks(css = """#col_container { margin-left: auto; margin-right: auto;}
|
|
| 112 |
gr.HTML(title)
|
| 113 |
gr.HTML('''<center><a href="https://huggingface.co/spaces/ysharma/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>''')
|
| 114 |
with gr.Column(elem_id = "col_container"):
|
| 115 |
-
openai_api_key = gr.Textbox(type='password', label="Enter your OpenAI API key here")
|
| 116 |
chatbot = gr.Chatbot(elem_id='chatbot') #c
|
| 117 |
inputs = gr.Textbox(placeholder= "Hi there!", label= "Type an input and press Enter") #t
|
| 118 |
state = gr.State([]) #s
|
|
|
|
| 112 |
gr.HTML(title)
|
| 113 |
gr.HTML('''<center><a href="https://huggingface.co/spaces/ysharma/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>''')
|
| 114 |
with gr.Column(elem_id = "col_container"):
|
| 115 |
+
openai_api_key = gr.Textbox(type='password', label="Enter only your GPT4 OpenAI API key here")
|
| 116 |
chatbot = gr.Chatbot(elem_id='chatbot') #c
|
| 117 |
inputs = gr.Textbox(placeholder= "Hi there!", label= "Type an input and press Enter") #t
|
| 118 |
state = gr.State([]) #s
|