Spaces:
Runtime error
Runtime error
seanbenhur
commited on
Commit
•
5257cda
1
Parent(s):
03e6f9c
Update app.py
Browse files
app.py
CHANGED
@@ -28,6 +28,7 @@ description = ""
|
|
28 |
input = gr.inputs.Image(type="pil")
|
29 |
#example_images = sorted([f.as_posix() for f in Path("examples").glob("*.jpg")])
|
30 |
#print(f"Loaded {len(example_images)} example images")
|
|
|
31 |
interface = gr.Interface(
|
32 |
fn=predict,
|
33 |
inputs=input,
|
|
|
28 |
input = gr.inputs.Image(type="pil")
|
29 |
#example_images = sorted([f.as_posix() for f in Path("examples").glob("*.jpg")])
|
30 |
#print(f"Loaded {len(example_images)} example images")
|
31 |
+
article = "This huggingface presents a demo for Image captioning in Hindi built with VIT Encoder and GPT2 Decoder"
|
32 |
interface = gr.Interface(
|
33 |
fn=predict,
|
34 |
inputs=input,
|