Spaces:
Runtime error
Runtime error
Gabriel C
commited on
Commit
β’
be711d8
1
Parent(s):
ab95b6f
Update app.py
Browse files
app.py
CHANGED
@@ -33,9 +33,12 @@ def generate_caption(image):
|
|
33 |
|
34 |
|
35 |
# Define the Gradio interface
|
36 |
-
description = """
|
|
|
|
|
37 |
|
38 |
iface = gr.Interface(
|
|
|
39 |
fn=generate_caption,
|
40 |
inputs=gr.Image(type="pil", label="Upload Image"),
|
41 |
outputs=gr.Textbox(label="Generated Poem"),
|
|
|
33 |
|
34 |
|
35 |
# Define the Gradio interface
|
36 |
+
description = """Enter an image, and receive an inspired poem.
|
37 |
+
|
38 |
+
This is a demo of [`llava-hf/llava-v1.6-mistral-7b-hf`](https://huggingface.co/llava-hf/llava-v1.6-mistral-7b-hf) hosted with ZeroGPU."""
|
39 |
|
40 |
iface = gr.Interface(
|
41 |
+
title="The Poet"
|
42 |
fn=generate_caption,
|
43 |
inputs=gr.Image(type="pil", label="Upload Image"),
|
44 |
outputs=gr.Textbox(label="Generated Poem"),
|