Spaces:
Runtime error
Runtime error
Commit
·
0f2d4df
1
Parent(s):
074bc88
Update app.py
Browse files
app.py
CHANGED
@@ -160,7 +160,7 @@ def YoutubeTranscribe(URL, retries = 5):
|
|
160 |
|
161 |
ut = gr.Interface(
|
162 |
fn=YoutubeTranscribe,
|
163 |
-
inputs=gr.Textbox(label="Youtube Link", placeholder="https://www.youtube.com/watch?v=GECcjrYHH8w"),
|
164 |
outputs=[gr.Textbox(label="Transcribed Text", lines=15), gr.JSON(label="Transcribed JSON")]
|
165 |
)
|
166 |
vt = gr.Interface(
|
|
|
160 |
|
161 |
ut = gr.Interface(
|
162 |
fn=YoutubeTranscribe,
|
163 |
+
inputs=[gr.Number(label="Number of Speakers", placeholder="2"), gr.Textbox(label="Name of the Speakers (ordered by the time they speak and seperated by comma)", placeholder="Speaker 1, Speaker 2"), gr.Textbox(label="Youtube Link", placeholder="https://www.youtube.com/watch?v=GECcjrYHH8w"),],
|
164 |
outputs=[gr.Textbox(label="Transcribed Text", lines=15), gr.JSON(label="Transcribed JSON")]
|
165 |
)
|
166 |
vt = gr.Interface(
|