Spaces:
Runtime error
Runtime error
Commit
·
91c9309
1
Parent(s):
81a893e
Update app.py
Browse files
app.py
CHANGED
|
@@ -49,13 +49,13 @@ def get_answer(query,context):
|
|
| 49 |
|
| 50 |
with gr.Blocks() as demo:
|
| 51 |
gr.Markdown("<h1><center>Youtube-QA</center></h1>")
|
| 52 |
-
gr.Markdown("<h3>Ask questions from
|
| 53 |
-
gr.Markdown("""
|
| 54 |
-
|
| 55 |
-
|
| 56 |
-
|
| 57 |
-
|
| 58 |
-
|
| 59 |
with gr.Row():
|
| 60 |
with gr.Column():
|
| 61 |
in_yt = gr.inputs.Textbox(lines=1, placeholder="Enter Youtube URL", label="YouTube URL")
|
|
|
|
| 49 |
|
| 50 |
with gr.Blocks() as demo:
|
| 51 |
gr.Markdown("<h1><center>Youtube-QA</center></h1>")
|
| 52 |
+
gr.Markdown("<h3>Ask questions from youtube video, it takes sometime to run so grabbing a coffee is a good option ☕️</h3>")
|
| 53 |
+
gr.Markdown("""sequence
|
| 54 |
+
A[Youtube-audio] -->B(openai-whisper)
|
| 55 |
+
B -->C(Trascription)
|
| 56 |
+
C -->|Query| D(QA-model)
|
| 57 |
+
D -->E[Answer]
|
| 58 |
+
""")
|
| 59 |
with gr.Row():
|
| 60 |
with gr.Column():
|
| 61 |
in_yt = gr.inputs.Textbox(lines=1, placeholder="Enter Youtube URL", label="YouTube URL")
|