Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -22,7 +22,7 @@ def title2abstract(text):
|
|
| 22 |
|
| 23 |
return generated_text[0]
|
| 24 |
|
| 25 |
-
demo = gr.Interface(fn=title2abstract, inputs="text", outputs="text"
|
| 26 |
title="Title to abstract generator",
|
| 27 |
description="Give a chemistry paper title and the model will write an abstract.")
|
| 28 |
demo.launch()
|
|
|
|
| 22 |
|
| 23 |
return generated_text[0]
|
| 24 |
|
| 25 |
+
demo = gr.Interface(fn=title2abstract, inputs="text", outputs="text",
|
| 26 |
title="Title to abstract generator",
|
| 27 |
description="Give a chemistry paper title and the model will write an abstract.")
|
| 28 |
demo.launch()
|