Samarth991 commited on
Commit
5e272e5
·
1 Parent(s): b170f49
Files changed (1) hide show
  1. app.py +4 -3
app.py CHANGED
@@ -133,8 +133,9 @@ with gr.Blocks(css=css) as demo:
133
 
134
  with gr.Column():
135
  with gr.Box():
136
- LLM_option = gr.Dropdown(['HuggingFace','OpenAI'],label='Large Language Model Selection',info='LLM Service')
137
- API_key = gr.Textbox(label="Add API key", type="password",autofocus=True)
 
138
  with gr.Accordion(label='Advanced options', open=False):
139
  max_new_tokens = gr.Slider(
140
  label='Max new tokens',
@@ -151,7 +152,7 @@ with gr.Blocks(css=css) as demo:
151
  )
152
 
153
  with gr.Group():
154
- chatbot = gr.Chatbot(height=100)
155
 
156
  with gr.Row():
157
  question = gr.Textbox(label="Type your question !",lines=1).style(full_width=True)
 
133
 
134
  with gr.Column():
135
  with gr.Box():
136
+ with gr.Row():
137
+ LLM_option = gr.Dropdown(['HuggingFace','OpenAI'],label='Large Language Model Selection')
138
+ API_key = gr.Textbox(label="Add API key", type="password",autofocus=True)
139
  with gr.Accordion(label='Advanced options', open=False):
140
  max_new_tokens = gr.Slider(
141
  label='Max new tokens',
 
152
  )
153
 
154
  with gr.Group():
155
+ chatbot = gr.Chatbot(height=300)
156
 
157
  with gr.Row():
158
  question = gr.Textbox(label="Type your question !",lines=1).style(full_width=True)