Spaces:
Sleeping
Sleeping
Commit
·
d668c41
1
Parent(s):
3fa0323
Update app.py
Browse files
app.py
CHANGED
@@ -54,16 +54,16 @@ with gr.Blocks() as demo:
|
|
54 |
transcribe_btn = gr.Button("Trascribe")
|
55 |
with gr.Column():
|
56 |
with gr.Row():
|
57 |
-
out_yt_html =
|
58 |
with gr.Row():
|
59 |
-
out_yt_text =
|
60 |
with gr.Column():
|
61 |
with gr.Row():
|
62 |
in_query = gr.Textbox(lines=1, placeholder="What's your Question", label="Query")
|
63 |
with gr.Row():
|
64 |
ans_btn = gr.Button("Answer")
|
65 |
with gr.Row():
|
66 |
-
out_query =
|
67 |
|
68 |
|
69 |
transcribe_btn.click(fn=yt_transcribe, inputs=in_yt, outputs=[out_yt_html,out_yt_text])
|
|
|
54 |
transcribe_btn = gr.Button("Trascribe")
|
55 |
with gr.Column():
|
56 |
with gr.Row():
|
57 |
+
out_yt_html = gr.outputs.HTML()
|
58 |
with gr.Row():
|
59 |
+
out_yt_text = gr.Textbox()
|
60 |
with gr.Column():
|
61 |
with gr.Row():
|
62 |
in_query = gr.Textbox(lines=1, placeholder="What's your Question", label="Query")
|
63 |
with gr.Row():
|
64 |
ans_btn = gr.Button("Answer")
|
65 |
with gr.Row():
|
66 |
+
out_query = gr.outputs.Textbox()
|
67 |
|
68 |
|
69 |
transcribe_btn.click(fn=yt_transcribe, inputs=in_yt, outputs=[out_yt_html,out_yt_text])
|