pablocst commited on
Commit
04fcda3
·
1 Parent(s): 2af947b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -106,8 +106,9 @@ In this app, you can explore the outputs of a gpt-3.5-turbo LLM.
106
  """
107
 
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", scale=2):
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")
120
  state = gr.State([])
121
  b1 = gr.Button()
122
 
 
106
  """
107
 
108
  css = """
109
+ #col_container {max-width: 1300px; margin-left: auto; margin-right: auto;}
110
  #chatbot {height: 520px; overflow: auto;}
111
+ #input_textbox textarea {height: 100px; overflow: auto;}
112
  """
113
 
114
  with gr.Blocks(css=css) as demo:
 
117
  with gr.Column(elem_id="col_container", scale=2):
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