Rehman1603 commited on
Commit
b9a6cec
·
1 Parent(s): 1e8ec1d

Delete app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -19
app.py DELETED
@@ -1,19 +0,0 @@
1
- import gradio as gr
2
- from summarize import Summarizer
3
-
4
-
5
- interface = gr.Interface(fn = Summarizer,
6
- inputs = [gr.inputs.Textbox(lines=2,
7
- placeholder="Enter your link...",
8
- label='YouTube Video Link'),
9
- gr.inputs.Radio(["mT5", "BART"], type="value", label='Model')],
10
- outputs = [gr.outputs.Textbox(
11
- label="Summary")],
12
-
13
- title = "Youtube Video Summarizer",
14
- examples = [
15
- ['https://www.youtube.com/watch?v=WSbgixdC9g8', 'BART']
16
- ],
17
- enable_queue=True)
18
-
19
- interface.launch(debug=True)