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