Commit
·
9e41a60
1
Parent(s):
3cb5f8b
adding video examples as Radio and linking to fn
Browse files
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"
|
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=
|
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():
|