Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -108,6 +108,7 @@ In this app, you can explore the outputs of a gpt-3.5-turbo LLM.
|
|
| 108 |
css = """
|
| 109 |
#col_container {width: 1000px; margin-left: auto; margin-right: auto;}
|
| 110 |
#chatbot {height: 520px; overflow: auto;}
|
|
|
|
| 111 |
"""
|
| 112 |
|
| 113 |
with gr.Blocks(css=css) as demo:
|
|
@@ -116,7 +117,7 @@ with gr.Blocks(css=css) as demo:
|
|
| 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=1)
|
| 120 |
state = gr.State([])
|
| 121 |
b1 = gr.Button(value="Executar")
|
| 122 |
|
|
|
|
| 108 |
css = """
|
| 109 |
#col_container {width: 1000px; margin-left: auto; margin-right: auto;}
|
| 110 |
#chatbot {height: 520px; overflow: auto;}
|
| 111 |
+
#teste {height: 100px;}
|
| 112 |
"""
|
| 113 |
|
| 114 |
with gr.Blocks(css=css) as demo:
|
|
|
|
| 117 |
with gr.Column(elem_id="col_container"):
|
| 118 |
openai_api_key = gr.Textbox(type='password', label="Insira sua chave de API OpenAI aqui")
|
| 119 |
chatbot = gr.Chatbot(elem_id="chatbot")
|
| 120 |
+
inputs = gr.Textbox(elem_id="teste", placeholder="Olá!", label="Digite uma entrada e pressione Enter", lines=1)
|
| 121 |
state = gr.State([])
|
| 122 |
b1 = gr.Button(value="Executar")
|
| 123 |
|