yfor commited on
Commit
48f77cf
·
1 Parent(s): c52baa7

Upload app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -1,7 +1,7 @@
1
  import gradio as gr
2
- from gpt_analyze import summary
3
 
4
- iface = gr.Interface(fn=summary, inputs=[
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',