yfor commited on
Commit
ce37267
·
1 Parent(s): 3573227

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -3
app.py CHANGED
@@ -1,5 +1,5 @@
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',
@@ -8,7 +8,6 @@ iface = gr.Interface(fn=summary_text, inputs=[
8
  max_lines=100),
9
  gr.components.Textbox(label='api key',
10
  placeholder='apikey from openai',
11
- type="password"),
12
- # gr.Radio(["summary", "markmap"], value="summary", label="Select summarizing method")
13
  ], outputs="text")
14
  iface.launch()
 
1
  import gradio as gr
2
+ from gpt_analyze import summary_text
3
 
4
  iface = gr.Interface(fn=summary_text, inputs=[
5
  gr.components.Textbox(label='Your text',
 
8
  max_lines=100),
9
  gr.components.Textbox(label='api key',
10
  placeholder='apikey from openai',
11
+ type="password")
 
12
  ], outputs="text")
13
  iface.launch()