Spaces:
Sleeping
Sleeping
Update other.py
Browse files
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='/
|
| 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) {
|