Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -107,7 +107,7 @@ In this app, you can explore the outputs of a gpt-3.5-turbo LLM.
|
|
107 |
css = """
|
108 |
#col_container {width: 1000px; margin-left: auto; margin-right: auto;}
|
109 |
#chatbot {height: 520px; overflow: auto;}
|
110 |
-
.large-textbox textarea {height:
|
111 |
"""
|
112 |
|
113 |
with gr.Blocks(css=css) as demo:
|
@@ -116,7 +116,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="Enter your OpenAI API key here")
|
118 |
chatbot = gr.Chatbot(elem_id="chatbot")
|
119 |
-
|
120 |
state = gr.State([])
|
121 |
b1 = gr.Button()
|
122 |
|
|
|
107 |
css = """
|
108 |
#col_container {width: 1000px; margin-left: auto; margin-right: auto;}
|
109 |
#chatbot {height: 520px; overflow: auto;}
|
110 |
+
.large-textbox textarea {height: 20%;}
|
111 |
"""
|
112 |
|
113 |
with gr.Blocks(css=css) as demo:
|
|
|
116 |
with gr.Column(elem_id="col_container"):
|
117 |
openai_api_key = gr.Textbox(type='password', label="Enter your OpenAI API key here")
|
118 |
chatbot = gr.Chatbot(elem_id="chatbot")
|
119 |
+
inputs = gr.Textbox(placeholder="Hi there!", label="Type an input and press Enter", elem_classes="large-textbox")
|
120 |
state = gr.State([])
|
121 |
b1 = gr.Button()
|
122 |
|