Update app.py
Browse files
app.py
CHANGED
|
@@ -35,5 +35,7 @@ def greet(image):
|
|
| 35 |
|
| 36 |
return generated_text[0]
|
| 37 |
|
| 38 |
-
demo = gr.Interface(fn=greet, inputs="image", outputs="text"
|
|
|
|
|
|
|
| 39 |
demo.launch()
|
|
|
|
| 35 |
|
| 36 |
return generated_text[0]
|
| 37 |
|
| 38 |
+
demo = gr.Interface(fn=greet, inputs="image", outputs="text",
|
| 39 |
+
title="Table of Contents Image Title Generator",
|
| 40 |
+
description="Upload a chemistry paper table of contents image and the model will guess what the title of the paper should be.")
|
| 41 |
demo.launch()
|