abidlabs HF staff commited on
Commit
4e8125d
1 Parent(s): 469e9f4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -65,7 +65,7 @@ with gr.Blocks(theme='freddyaboulton/dracula_revamped') as demo:
65
  check = gr.Checkbox(label="Go")
66
  with gr.Column(variant="panel", scale=2):
67
  img = gr.Image(
68
- "https://gradio.app/assets/img/header-image.jpg", label="Image", height=320
69
  )
70
  with gr.Row():
71
  go_btn = gr.Button("Go", variant="primary")
@@ -75,7 +75,7 @@ with gr.Blocks(theme='freddyaboulton/dracula_revamped') as demo:
75
 
76
  def go(*args):
77
  time.sleep(3)
78
- return "https://gradio.app/assets/img/header-image.jpg"
79
 
80
  go_btn.click(go, [radio, drop, drop_2, check, name], img, api_name="go")
81
 
 
65
  check = gr.Checkbox(label="Go")
66
  with gr.Column(variant="panel", scale=2):
67
  img = gr.Image(
68
+ "https://gradio-static-files.s3.us-west-2.amazonaws.com/header-image.jpg", label="Image", height=320
69
  )
70
  with gr.Row():
71
  go_btn = gr.Button("Go", variant="primary")
 
75
 
76
  def go(*args):
77
  time.sleep(3)
78
+ return "https://gradio-static-files.s3.us-west-2.amazonaws.com/header-image.jpg"
79
 
80
  go_btn.click(go, [radio, drop, drop_2, check, name], img, api_name="go")
81