cfc-tech commited on
Commit
63088b3
·
verified ·
1 Parent(s): a604c2f
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -32,12 +32,12 @@ def summarize_video_url(video_url):
32
  summary = summarize_transcript(transcript)
33
  return summary
34
 
35
- inputs = gr.inputs.Textbox(lines=5, 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=inputs, outputs=output, title=title, description=description)
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)