Spaces:
Runtime error
Runtime error
Update run.py
Browse files
run.py
CHANGED
@@ -73,7 +73,7 @@ with gr.Blocks(css="style.css") as app:
|
|
73 |
None,
|
74 |
None,
|
75 |
None,
|
76 |
-
_js="""() => {document.querySelector("gradio-app").
|
77 |
status_tracker=None,
|
78 |
)
|
79 |
guess_btn.click(submit_guess, {room_name, player, guess}, None)
|
@@ -81,7 +81,7 @@ with gr.Blocks(css="style.css") as app:
|
|
81 |
None,
|
82 |
None,
|
83 |
None,
|
84 |
-
_js="""() => {document.querySelector("gradio-app").
|
85 |
status_tracker=None,
|
86 |
)
|
87 |
|
|
|
73 |
None,
|
74 |
None,
|
75 |
None,
|
76 |
+
_js="""() => {document.querySelector("gradio-app").querySelector("#guess textarea").setSelectionRange(0, 9999)}""",
|
77 |
status_tracker=None,
|
78 |
)
|
79 |
guess_btn.click(submit_guess, {room_name, player, guess}, None)
|
|
|
81 |
None,
|
82 |
None,
|
83 |
None,
|
84 |
+
_js="""() => {document.querySelector("gradio-app").querySelector("#guess textarea").setSelectionRange(0, 9999)}""",
|
85 |
status_tracker=None,
|
86 |
)
|
87 |
|