Samarth991 commited on
Commit
9e41a60
·
1 Parent(s): 3cb5f8b

adding video examples as Radio and linking to fn

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -22,7 +22,7 @@ DEFAULT_CHAR_LENGTH = 1000
22
 
23
  EXAMPLES = ["https://www.youtube.com/watch?v=aircAruvnKk&ab_channel=3Blue1Brown",
24
  "https://www.youtube.com/watch?v=Ilg3gGewQ5U",
25
- "https://www.youtube.com/watch?v=WUvTyaaNkzM","https://www.youtube.com/watch?v=5p248yoa3oE&ab_channel=StanfordOnline"
26
  ]
27
 
28
 
@@ -148,7 +148,7 @@ with gr.Blocks(css=css) as demo:
148
  API_key = gr.Textbox(label="Add API key", type="password",autofocus=True)
149
 
150
  with gr.Group():
151
- chatbot = gr.Chatbot(height=250)
152
  examples_set = gr.Radio(label="Examples of some You tube Videos",choices=EXAMPLES)
153
 
154
  with gr.Row():
 
22
 
23
  EXAMPLES = ["https://www.youtube.com/watch?v=aircAruvnKk&ab_channel=3Blue1Brown",
24
  "https://www.youtube.com/watch?v=Ilg3gGewQ5U",
25
+ "https://www.youtube.com/watch?v=WUvTyaaNkzM"
26
  ]
27
 
28
 
 
148
  API_key = gr.Textbox(label="Add API key", type="password",autofocus=True)
149
 
150
  with gr.Group():
151
+ chatbot = gr.Chatbot(height=220)
152
  examples_set = gr.Radio(label="Examples of some You tube Videos",choices=EXAMPLES)
153
 
154
  with gr.Row():