Samarth991 commited on
Commit
3737e00
·
1 Parent(s): 0d1bd5b

positioning chat and options

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -142,6 +142,11 @@ with gr.Blocks(css=css) as demo:
142
  with gr.Column(elem_id="col-container"):
143
  gr.HTML(title)
144
 
 
 
 
 
 
145
  with gr.Group():
146
  chatbot = gr.Chatbot(height=170)
147
  examples_set = gr.Radio(label="Examples of some You tube Videos",choices=EXAMPLES)
@@ -152,11 +157,6 @@ with gr.Blocks(css=css) as demo:
152
  submit_btn = gr.Button(value="Send message", variant="primary", scale = 1)
153
  clean_chat_btn = gr.Button("Delete Chat")
154
 
155
- with gr.Column():
156
- with gr.Row():
157
- LLM_option = gr.Dropdown(['HuggingFace','OpenAI'],label='Select HuggingFace/OpenAI')
158
- API_key = gr.Textbox(label="Add API key", type="password",autofocus=True)
159
-
160
  with gr.Column():
161
  with gr.Box():
162
  youtube_link = gr.Textbox(label="Add your you tube Link",text_align='left',autofocus=True)
 
142
  with gr.Column(elem_id="col-container"):
143
  gr.HTML(title)
144
 
145
+ with gr.Column():
146
+ with gr.Row():
147
+ LLM_option = gr.Dropdown(['HuggingFace','OpenAI'],label='Select HuggingFace/OpenAI')
148
+ API_key = gr.Textbox(label="Add API key", type="password",autofocus=True)
149
+
150
  with gr.Group():
151
  chatbot = gr.Chatbot(height=170)
152
  examples_set = gr.Radio(label="Examples of some You tube Videos",choices=EXAMPLES)
 
157
  submit_btn = gr.Button(value="Send message", variant="primary", scale = 1)
158
  clean_chat_btn = gr.Button("Delete Chat")
159
 
 
 
 
 
 
160
  with gr.Column():
161
  with gr.Box():
162
  youtube_link = gr.Textbox(label="Add your you tube Link",text_align='left',autofocus=True)