Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -34,9 +34,9 @@ def text(input_text):
|
|
| 34 |
return output
|
| 35 |
|
| 36 |
import gradio as gr
|
| 37 |
-
def summarize(
|
| 38 |
|
| 39 |
-
outputtext = text(
|
| 40 |
return outputtext
|
| 41 |
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"
|
| 42 |
]]).launch(inline=False)
|
|
|
|
| 34 |
return output
|
| 35 |
|
| 36 |
import gradio as gr
|
| 37 |
+
def summarize(Input_Text):
|
| 38 |
|
| 39 |
+
outputtext = text(Input_Text)
|
| 40 |
return outputtext
|
| 41 |
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"
|
| 42 |
]]).launch(inline=False)
|