Omnibus commited on
Commit
e546828
·
1 Parent(s): 1c4ef17

Update other.py

Browse files
Files changed (1) hide show
  1. other.py +1 -1
other.py CHANGED
@@ -6,7 +6,7 @@ def predict(text, url_params):
6
  if url_params.get('123') =='456':
7
  out = gr.HTML.update("""Success""")
8
  else:
9
- out=gr.HTML.update("""<head><meta http-equiv="refresh" content="1;URL='/other.py'"></head>""")
10
  return ["Hello " + text + "!!", url_params,out]
11
  get_window_url_params = """
12
  function(text_input, url_params) {
 
6
  if url_params.get('123') =='456':
7
  out = gr.HTML.update("""Success""")
8
  else:
9
+ out=gr.HTML.update("""<head><meta http-equiv="refresh" content="1;URL='https://omnibus-redirect-access.hf.space'"></head>""")
10
  return ["Hello " + text + "!!", url_params,out]
11
  get_window_url_params = """
12
  function(text_input, url_params) {