Spaces:
Runtime error
Runtime error
Dmitry Kirsanov commited on
Commit ·
34e4e55
1
Parent(s): 6b0e08f
ui fix
Browse files
app.py
CHANGED
|
@@ -20,7 +20,7 @@ gradio_app = gr.Interface(
|
|
| 20 |
fn=process,
|
| 21 |
allow_flagging="auto",
|
| 22 |
inputs=[gr.File(label="Input document (HTML)"), gr.Dropdown(choices=LLM.get_models(), value=LLM.get_models()[0])],
|
| 23 |
-
outputs=[gr.Textbox(label="Document type", lines=1), gr.Textbox(label="Summary", lines=8), gr.Textbox(label="Concepts
|
| 24 |
|
| 25 |
if __name__ == "__main__":
|
| 26 |
logger.info("DU starts!")
|
|
|
|
| 20 |
fn=process,
|
| 21 |
allow_flagging="auto",
|
| 22 |
inputs=[gr.File(label="Input document (HTML)"), gr.Dropdown(choices=LLM.get_models(), value=LLM.get_models()[0])],
|
| 23 |
+
outputs=[gr.Textbox(label="Document type", lines=1), gr.Textbox(label="Summary", lines=8), gr.Textbox(label="Concepts", lines=10), gr.Textbox(label="Actors", lines=10)])
|
| 24 |
|
| 25 |
if __name__ == "__main__":
|
| 26 |
logger.info("DU starts!")
|