Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -34,7 +34,7 @@ def decode(im,col):
|
|
| 34 |
|
| 35 |
|
| 36 |
with gr.Blocks() as app:
|
| 37 |
-
in_im = gr.Image(label="QR Image to Decode")
|
| 38 |
dec_btn = gr.Button("Decode QR")
|
| 39 |
text_out = gr.Textbox(label="Decoded Text")
|
| 40 |
choose_color = gr.ColorPicker()
|
|
|
|
| 34 |
|
| 35 |
|
| 36 |
with gr.Blocks() as app:
|
| 37 |
+
in_im = gr.Image(label="QR Image to Decode",type='filepath')
|
| 38 |
dec_btn = gr.Button("Decode QR")
|
| 39 |
text_out = gr.Textbox(label="Decoded Text")
|
| 40 |
choose_color = gr.ColorPicker()
|