Spaces:
Sleeping
Sleeping
Try fix syntax error
Browse files
app.py
CHANGED
|
@@ -21,7 +21,9 @@ with gr.Blocks() as demo: # Create a Blocks context
|
|
| 21 |
iface.set_value(project_data, value=state.context)
|
| 22 |
iface.set_value(output, value=state.context)
|
| 23 |
|
| 24 |
-
iface.js_code("
|
|
|
|
|
|
|
| 25 |
|
| 26 |
iface.launch(
|
| 27 |
server_name="0.0.0.0", # Allow external connections
|
|
|
|
| 21 |
iface.set_value(project_data, value=state.context)
|
| 22 |
iface.set_value(output, value=state.context)
|
| 23 |
|
| 24 |
+
iface.js_code("""
|
| 25 |
+
window.addEventListener("message", on_message);
|
| 26 |
+
""")
|
| 27 |
|
| 28 |
iface.launch(
|
| 29 |
server_name="0.0.0.0", # Allow external connections
|