Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -31,10 +31,10 @@ def generate_title(abstract):
|
|
| 31 |
|
| 32 |
iface = gr.Interface(
|
| 33 |
fn=generate_title,
|
| 34 |
-
inputs=gr.Textbox(label="
|
| 35 |
-
outputs=gr.Textbox(label="
|
| 36 |
-
title="
|
| 37 |
-
description="
|
| 38 |
)
|
| 39 |
|
| 40 |
iface.launch(share=True, show_error=True)
|
|
|
|
| 31 |
|
| 32 |
iface = gr.Interface(
|
| 33 |
fn=generate_title,
|
| 34 |
+
inputs=gr.Textbox(label="Summary"),
|
| 35 |
+
outputs=gr.Textbox(label="Generated titles"),
|
| 36 |
+
title="Research Title Generator",
|
| 37 |
+
description="Enter a search term and we will generate 3 possible titles for you using T5."
|
| 38 |
)
|
| 39 |
|
| 40 |
iface.launch(share=True, show_error=True)
|