Spaces:
Sleeping
Sleeping
changed a few depricated things
Browse files
app.py
CHANGED
@@ -16,7 +16,7 @@ def generate_caption(image):
|
|
16 |
# Gradio interface with webcam support
|
17 |
iface = gr.Interface(
|
18 |
fn=generate_caption,
|
19 |
-
inputs=[gr.Image(type="pil", label="Capture an image from webcam"
|
20 |
outputs=gr.Textbox(label="Image Description"),
|
21 |
title="📷 Image Capture & Description App",
|
22 |
description="Capture an image using your webcam and let AI describe what's happening in the image!",
|
|
|
16 |
# Gradio interface with webcam support
|
17 |
iface = gr.Interface(
|
18 |
fn=generate_caption,
|
19 |
+
inputs=[gr.Image(type="pil", label="Capture an image from webcam")],
|
20 |
outputs=gr.Textbox(label="Image Description"),
|
21 |
title="📷 Image Capture & Description App",
|
22 |
description="Capture an image using your webcam and let AI describe what's happening in the image!",
|