Update app.py
Browse files
app.py
CHANGED
@@ -59,7 +59,7 @@ def predict(img, model_name, max_tokens, temperature):
|
|
59 |
return "Caption generation for this model is not yet implemented."
|
60 |
|
61 |
|
62 |
-
|
63 |
'https://imgur.com/W1pIr9b',
|
64 |
'https://imgur.com/MLJaWnf',
|
65 |
'https://imgur.com/6XymFW1',
|
@@ -74,7 +74,7 @@ interface = gr.Interface(
|
|
74 |
inputs = [image, model_choice, max_tokens, temperature],
|
75 |
theme="gradio/monochrome",
|
76 |
outputs=caption,
|
77 |
-
examples =
|
78 |
)
|
79 |
|
80 |
interface.launch(debug=True)
|
|
|
59 |
return "Caption generation for this model is not yet implemented."
|
60 |
|
61 |
|
62 |
+
examples = [
|
63 |
'https://imgur.com/W1pIr9b',
|
64 |
'https://imgur.com/MLJaWnf',
|
65 |
'https://imgur.com/6XymFW1',
|
|
|
74 |
inputs = [image, model_choice, max_tokens, temperature],
|
75 |
theme="gradio/monochrome",
|
76 |
outputs=caption,
|
77 |
+
examples = examples,
|
78 |
)
|
79 |
|
80 |
interface.launch(debug=True)
|