Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -30,7 +30,7 @@ def captioner(image):
|
|
30 |
result = get_completion(base64_image)
|
31 |
return result[0]['generated_text']
|
32 |
|
33 |
-
|
34 |
demo = gr.Interface(fn=captioner,
|
35 |
inputs=[gr.Image(label="Upload image", type="pil")],
|
36 |
outputs=[gr.Textbox(label="Caption")],
|
|
|
30 |
result = get_completion(base64_image)
|
31 |
return result[0]['generated_text']
|
32 |
|
33 |
+
|
34 |
demo = gr.Interface(fn=captioner,
|
35 |
inputs=[gr.Image(label="Upload image", type="pil")],
|
36 |
outputs=[gr.Textbox(label="Caption")],
|