Spaces:
Runtime error
Runtime error
seanbenhur
commited on
Commit
•
cafa65e
1
Parent(s):
ecda335
Update app.py
Browse files
app.py
CHANGED
@@ -42,8 +42,8 @@ print("Loaded tokenizer")
|
|
42 |
title = "Hindi Image Captioning"
|
43 |
description = ""
|
44 |
input = gr.inputs.Image(type="pil")
|
45 |
-
example_images = sorted([f.as_posix() for f in Path("examples").glob("*.jpg")])
|
46 |
-
print(f"Loaded {len(example_images)} example images")
|
47 |
interface = gr.Interface(
|
48 |
fn=predict,
|
49 |
inputs=input,
|
|
|
42 |
title = "Hindi Image Captioning"
|
43 |
description = ""
|
44 |
input = gr.inputs.Image(type="pil")
|
45 |
+
#example_images = sorted([f.as_posix() for f in Path("examples").glob("*.jpg")])
|
46 |
+
#print(f"Loaded {len(example_images)} example images")
|
47 |
interface = gr.Interface(
|
48 |
fn=predict,
|
49 |
inputs=input,
|