Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
import gradio as gr
|
| 2 |
-
from gpt_analyze import
|
| 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()
|