Spaces:
Running
Running
jianghuyihei
commited on
Commit
•
2e6e105
1
Parent(s):
9b426fc
fix
Browse files
app.py
CHANGED
@@ -357,7 +357,7 @@ script_template = """
|
|
357 |
let state = document.getElementById("state").value;
|
358 |
console.log(`1 User ID: ${{userId}}, State: ${{state}}`);
|
359 |
}
|
360 |
-
window.onload = setstate
|
361 |
"""
|
362 |
|
363 |
@app.get("/", response_class=HTMLResponse)
|
|
|
357 |
let state = document.getElementById("state").value;
|
358 |
console.log(`1 User ID: ${{userId}}, State: ${{state}}`);
|
359 |
}
|
360 |
+
window.onload = setstate;
|
361 |
"""
|
362 |
|
363 |
@app.get("/", response_class=HTMLResponse)
|