notrey commited on
Commit
c349363
·
1 Parent(s): 515d23a

changed a few depricated things

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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", tool="editor")],
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!",