Update app.py
Browse files
app.py
CHANGED
@@ -59,15 +59,8 @@ def predict(img, model_name, max_tokens, temperature):
|
|
59 |
return "Caption generation for this model is not yet implemented."
|
60 |
|
61 |
|
62 |
-
|
63 |
-
|
64 |
-
'https://imgur.com/MLJaWnf',
|
65 |
-
'https://imgur.com/6XymFW1',
|
66 |
-
'https://imgur.com/zdPjZZ1',
|
67 |
-
'https://imgur.com/DKUlZbF'
|
68 |
-
]
|
69 |
-
|
70 |
-
# examples = [f"example{i}.jpg" for i in range(1,7)]
|
71 |
|
72 |
interface = gr.Interface(
|
73 |
fn=predict,
|
|
|
59 |
return "Caption generation for this model is not yet implemented."
|
60 |
|
61 |
|
62 |
+
|
63 |
+
examples = [f"example{i}.png" for i in range(1,3)]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
64 |
|
65 |
interface = gr.Interface(
|
66 |
fn=predict,
|