Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -12,9 +12,10 @@ def decode(im):
|
|
| 12 |
|
| 13 |
|
| 14 |
with gr.Blocks() as app:
|
| 15 |
-
in_im = gr.Image("QR Image to Decode")
|
| 16 |
dec_btn = gr.Button("Decode QR")
|
| 17 |
-
text_out = gr.Textbox("Decoded Text")
|
|
|
|
| 18 |
|
| 19 |
dec_btn.click(decode,in_im,text_out)
|
| 20 |
app.queue(concurrency_count=10).launch()
|
|
|
|
| 12 |
|
| 13 |
|
| 14 |
with gr.Blocks() as app:
|
| 15 |
+
in_im = gr.Image(label="QR Image to Decode")
|
| 16 |
dec_btn = gr.Button("Decode QR")
|
| 17 |
+
text_out = gr.Textbox(label="Decoded Text")
|
| 18 |
+
choose_color = gr.ColorPicker()
|
| 19 |
|
| 20 |
dec_btn.click(decode,in_im,text_out)
|
| 21 |
app.queue(concurrency_count=10).launch()
|