Spaces:
Build error
Build error
Commit
·
118a499
1
Parent(s):
fc132ae
Update app.py
Browse files
app.py
CHANGED
|
@@ -68,11 +68,10 @@ def summarize_podcast(podcast):
|
|
| 68 |
return str(tempstr)
|
| 69 |
|
| 70 |
input_file = gr.inputs.File(label="Upload your podcast in VTT format.")
|
| 71 |
-
output_text = gr.outputs.Textbox(label="Podcast Summary")
|
| 72 |
|
| 73 |
sample_url = "https://www.example.com/sample.vtt"
|
| 74 |
|
| 75 |
-
iface = gr.Interface(fn=summarize_podcast, inputs=input_file,
|
| 76 |
description="This tool summarizes a podcast in VTT format, providing a summary of each chunk of text.")
|
| 77 |
|
| 78 |
iface.launch()
|
|
|
|
| 68 |
return str(tempstr)
|
| 69 |
|
| 70 |
input_file = gr.inputs.File(label="Upload your podcast in VTT format.")
|
|
|
|
| 71 |
|
| 72 |
sample_url = "https://www.example.com/sample.vtt"
|
| 73 |
|
| 74 |
+
iface = gr.Interface(fn=summarize_podcast, inputs=input_file, title="Podcast Summarizer",
|
| 75 |
description="This tool summarizes a podcast in VTT format, providing a summary of each chunk of text.")
|
| 76 |
|
| 77 |
iface.launch()
|