Spaces:
Runtime error
Runtime error
jfj
Browse files
app.py
CHANGED
@@ -32,12 +32,12 @@ def summarize_video_url(video_url):
|
|
32 |
summary = summarize_transcript(transcript)
|
33 |
return summary
|
34 |
|
35 |
-
|
36 |
output = gr.outputs.Textbox(label="Summary")
|
37 |
|
38 |
title = "YouTube Video Transcription Summarizer"
|
39 |
description = "Enter a YouTube Video URL to get a summary of its transcript."
|
40 |
|
41 |
-
iface = gr.Interface(fn=summarize_video_url, inputs=
|
42 |
|
43 |
iface.launch(share=True)
|
|
|
32 |
summary = summarize_transcript(transcript)
|
33 |
return summary
|
34 |
|
35 |
+
input = gr.inputs.Textbox(label="Enter YouTube Video URL")
|
36 |
output = gr.outputs.Textbox(label="Summary")
|
37 |
|
38 |
title = "YouTube Video Transcription Summarizer"
|
39 |
description = "Enter a YouTube Video URL to get a summary of its transcript."
|
40 |
|
41 |
+
iface = gr.Interface(fn=summarize_video_url, inputs=input, outputs=output, title=title, description=description)
|
42 |
|
43 |
iface.launch(share=True)
|