Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -114,9 +114,9 @@ with gr.Blocks(css=css) as demo:
|
|
114 |
gr.HTML(title)
|
115 |
gr.HTML('''<center><a href="https://huggingface.co/spaces/ysharma/ChatGPTwithAPI?duplicate=true"><img src="https://bit.ly/3gLdBN6" alt="Duplicate Space"></a>Duplicate the Space and run securely with your OpenAI API Key</center>''')
|
116 |
with gr.Column(elem_id="col_container"):
|
117 |
-
openai_api_key = gr.Textbox(type='password', label="
|
118 |
chatbot = gr.Chatbot(elem_id="chatbot")
|
119 |
-
inputs = gr.Textbox(placeholder="
|
120 |
state = gr.State([])
|
121 |
b1 = gr.Button()
|
122 |
|
|
|
114 |
gr.HTML(title)
|
115 |
gr.HTML('''<center><a href="https://huggingface.co/spaces/ysharma/ChatGPTwithAPI?duplicate=true"><img src="https://bit.ly/3gLdBN6" alt="Duplicate Space"></a>Duplicate the Space and run securely with your OpenAI API Key</center>''')
|
116 |
with gr.Column(elem_id="col_container"):
|
117 |
+
openai_api_key = gr.Textbox(type='password', label="Insira sua chave de API OpenAI aqui")
|
118 |
chatbot = gr.Chatbot(elem_id="chatbot")
|
119 |
+
inputs = gr.Textbox(placeholder="Olá!", label="Digite uma entrada e pressione Enter", lines=3)
|
120 |
state = gr.State([])
|
121 |
b1 = gr.Button()
|
122 |
|