Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -117,10 +117,9 @@ with gr.Blocks(css=css) as demo:
|
|
117 |
with gr.Column(elem_id="col_container"):
|
118 |
openai_api_key = gr.Textbox(type='password', label="Enter your OpenAI API key here")
|
119 |
chatbot = gr.Chatbot(elem_id="chatbot")
|
120 |
-
|
121 |
-
|
122 |
-
|
123 |
-
b1 = gr.Button()
|
124 |
|
125 |
#inputs, top_p, temperature, top_k, repetition_penalty
|
126 |
with gr.Accordion("Parameters", open=False):
|
|
|
117 |
with gr.Column(elem_id="col_container"):
|
118 |
openai_api_key = gr.Textbox(type='password', label="Enter your OpenAI API key here")
|
119 |
chatbot = gr.Chatbot(elem_id="chatbot")
|
120 |
+
inputs = gr.Textbox(placeholder="Hi there!", label="Type an input and press Enter", elem_id="input_textbox")
|
121 |
+
state = gr.State([])
|
122 |
+
b1 = gr.Button()
|
|
|
123 |
|
124 |
#inputs, top_p, temperature, top_k, repetition_penalty
|
125 |
with gr.Accordion("Parameters", open=False):
|