Spaces:
Sleeping
Sleeping
bhavyagiri
commited on
Commit
·
ca3c027
1
Parent(s):
73d45a9
Update app.py
Browse files
app.py
CHANGED
@@ -40,7 +40,15 @@ def update(name):
|
|
40 |
return f"Welcome to Gradio, {name}!"
|
41 |
|
42 |
with gr.Blocks() as demo:
|
43 |
-
gr.Markdown("
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
44 |
with gr.Row():
|
45 |
inp = gr.Textbox(placeholder="What is your name?")
|
46 |
out = gr.Textbox()
|
|
|
40 |
return f"Welcome to Gradio, {name}!"
|
41 |
|
42 |
with gr.Blocks() as demo:
|
43 |
+
gr.Markdown("<h1><center>Youtube-QA</center></h1>")
|
44 |
+
gr.Markdown("<h3>Ask questions from your youtube video of choice</h3>")
|
45 |
+
gr.Markdown("""mermaid
|
46 |
+
graph LR
|
47 |
+
A[Youtube-audio] -->B(openai-whisper)
|
48 |
+
B -->C(Trascription)
|
49 |
+
C -->|Query| D(QA-model)
|
50 |
+
D -->E[Answer]
|
51 |
+
""")
|
52 |
with gr.Row():
|
53 |
inp = gr.Textbox(placeholder="What is your name?")
|
54 |
out = gr.Textbox()
|