aliabd HF staff commited on
Commit
a5e1b5a
1 Parent(s): 588b8ea

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -4
app.py CHANGED
@@ -2,10 +2,7 @@ import gradio as gr
2
  js = """
3
  function redirect()
4
  {
5
- const cloudflare_preview = 'https://41e124ab.gradio-website.pages.dev';
6
- const current_path = window.location.pathname;
7
- const url = cloudflare_preview + current_path
8
- window.location.href = url;
9
  }
10
  """
11
  with gr.Blocks(js=js) as demo:
 
2
  js = """
3
  function redirect()
4
  {
5
+ window.location.href = = 'https://41e124ab.gradio-website.pages.dev/playground';
 
 
 
6
  }
7
  """
8
  with gr.Blocks(js=js) as demo: