Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -38,9 +38,9 @@ def text(url):
|
|
| 38 |
return output
|
| 39 |
|
| 40 |
import gradio as gr
|
| 41 |
-
def summarize(
|
| 42 |
|
| 43 |
-
outputtext = text(
|
| 44 |
return outputtext
|
| 45 |
gr.Interface(fn=summarize, inputs=gr.inputs.Textbox(lines=7, placeholder="Enter text here"), outputs=[gr.outputs.Textbox(label="Paraphrased Text")],examples=[["developed by python team"
|
| 46 |
]]).launch(inline=False)
|
|
|
|
| 38 |
return output
|
| 39 |
|
| 40 |
import gradio as gr
|
| 41 |
+
def summarize(url):
|
| 42 |
|
| 43 |
+
outputtext = text(url)
|
| 44 |
return outputtext
|
| 45 |
gr.Interface(fn=summarize, inputs=gr.inputs.Textbox(lines=7, placeholder="Enter text here"), outputs=[gr.outputs.Textbox(label="Paraphrased Text")],examples=[["developed by python team"
|
| 46 |
]]).launch(inline=False)
|