abidlabs HF staff commited on
Commit
a650f88
1 Parent(s): 54fc838

Update app.py

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