Adam Jirkovsky
commited on
Commit
·
460b4ea
1
Parent(s):
b196172
Captcha fix
Browse files
app.py
CHANGED
@@ -343,7 +343,7 @@ with demo:
|
|
343 |
with gr.Group():
|
344 |
captcha_correct = gr.State(False)
|
345 |
text = gr.State("")
|
346 |
-
image, text = generate_captcha()
|
347 |
captcha_img = gr.Image(
|
348 |
image,
|
349 |
label="Prove your humanity",
|
|
|
343 |
with gr.Group():
|
344 |
captcha_correct = gr.State(False)
|
345 |
text = gr.State("")
|
346 |
+
image, text.value = generate_captcha()
|
347 |
captcha_img = gr.Image(
|
348 |
image,
|
349 |
label="Prove your humanity",
|