Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -23,9 +23,6 @@ def title2abstract(text):
|
|
| 23 |
return generated_text[0]
|
| 24 |
|
| 25 |
demo = gr.Interface(fn=title2abstract, inputs="text", outputs="text")
|
| 26 |
-
|
| 27 |
-
|
| 28 |
-
demo = gr.Interface(fn=greet, inputs="image", outputs="text",
|
| 29 |
-
title="Write an abstract from a title",
|
| 30 |
description="Give a chemistry paper title and the model will write an abstract.")
|
| 31 |
demo.launch()
|
|
|
|
| 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()
|