Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -1,12 +1,10 @@
|
|
1 |
|
2 |
|
|
|
3 |
import gradio as gr
|
4 |
|
|
|
5 |
|
6 |
-
|
7 |
-
"huggingface/xy4286/pegasus-samsum",
|
8 |
-
inputs=gr.Textbox(lines=5, label="Input Text"),
|
9 |
-
|
10 |
-
).launch()
|
11 |
|
12 |
|
|
|
1 |
|
2 |
|
3 |
+
|
4 |
import gradio as gr
|
5 |
|
6 |
+
demo = gr.load("xy4286/pegasus-samsum", src="models")
|
7 |
|
8 |
+
demo.launch()
|
|
|
|
|
|
|
|
|
9 |
|
10 |
|