Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -26,9 +26,13 @@ input = gr.inputs.Image(label="Upload yuor Image", type = 'pil', optional=True)
|
|
26 |
output = gr.outputs.Textbox(type="auto",label="Captions")
|
27 |
examples = [f"example{i}.jpg" for i in range(1,3)]
|
28 |
|
29 |
-
article =
|
30 |
-
title = "Image Captioning "
|
31 |
|
|
|
|
|
|
|
|
|
32 |
|
33 |
interface = gr.Interface(
|
34 |
fn=predict,
|
|
|
26 |
output = gr.outputs.Textbox(type="auto",label="Captions")
|
27 |
examples = [f"example{i}.jpg" for i in range(1,3)]
|
28 |
|
29 |
+
article = "Image captioning application made using transformers"
|
30 |
+
title = "Image Captioning 🖼️"
|
31 |
|
32 |
+
gr.Markdown("""
|
33 |
+
### Created By : Shreyas Dixit
|
34 |
+
Transormer uesd : nlpconnect/vit-gpt2-image-captioning
|
35 |
+
""")
|
36 |
|
37 |
interface = gr.Interface(
|
38 |
fn=predict,
|