Tristan Thrush commited on
Commit
51db84d
1 Parent(s): 14d8566
Files changed (1) hide show
  1. app.py +1 -1
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) { return [state, window.location.search] }",
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.location.search); return [state, window.location.search]; }",
91
  )
92
  #gr.Markdown(state["response"].text if "response" in state and state["response"] is not None else "")
93