Spaces:
Runtime error
Runtime error
Tristan Thrush
commited on
Commit
•
7f6945b
1
Parent(s):
0ed53d0
debug
Browse files
app.py
CHANGED
@@ -87,7 +87,7 @@ with demo:
|
|
87 |
_submit,
|
88 |
inputs=[state, dummy],
|
89 |
outputs=[response_output, state, dummy],
|
90 |
-
_js="function(state, dummy) { console.log(window
|
91 |
)
|
92 |
#gr.Markdown(state["response"].text if "response" in state and state["response"] is not None else "")
|
93 |
|
|
|
87 |
_submit,
|
88 |
inputs=[state, dummy],
|
89 |
outputs=[response_output, state, dummy],
|
90 |
+
_js="function(state, dummy) { console.log(window); return [state, window.location.search]; }",
|
91 |
)
|
92 |
#gr.Markdown(state["response"].text if "response" in state and state["response"] is not None else "")
|
93 |
|