Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -32,8 +32,8 @@ def scan_qr_code(image):
|
|
32 |
# Define the Gradio interface
|
33 |
iface = gr.Interface(
|
34 |
fn=scan_qr_code,
|
35 |
-
inputs=gr.
|
36 |
-
outputs=gr.
|
37 |
title="QR Code Scanner",
|
38 |
description="Upload an image containing a QR code to decode it."
|
39 |
)
|
|
|
32 |
# Define the Gradio interface
|
33 |
iface = gr.Interface(
|
34 |
fn=scan_qr_code,
|
35 |
+
inputs=gr.Image(type="pil"),
|
36 |
+
outputs=gr.Textbox(),
|
37 |
title="QR Code Scanner",
|
38 |
description="Upload an image containing a QR code to decode it."
|
39 |
)
|