Spaces:
Runtime error
Runtime error
Upload app.py
Browse files
app.py
CHANGED
|
@@ -1,7 +1,7 @@
|
|
| 1 |
import gradio as gr
|
| 2 |
-
from gpt_analyze import summary
|
| 3 |
|
| 4 |
-
iface = gr.Interface(fn=
|
| 5 |
gr.components.Textbox(label='Your text',
|
| 6 |
lines=5,
|
| 7 |
placeholder='The text that needs to be summarized',
|
|
|
|
| 1 |
import gradio as gr
|
| 2 |
+
from gpt_analyze import summary, summary_text
|
| 3 |
|
| 4 |
+
iface = gr.Interface(fn=summary_text, inputs=[
|
| 5 |
gr.components.Textbox(label='Your text',
|
| 6 |
lines=5,
|
| 7 |
placeholder='The text that needs to be summarized',
|