Siddhanta19 commited on
Commit
9c88220
1 Parent(s): 3e869f6

Update app.py

Browse files

undone everything here

Files changed (1) hide show
  1. app.py +4 -5
app.py CHANGED
@@ -62,10 +62,9 @@ with gr.Blocks(theme='NoCrypt/miku') as demo:
62
  )
63
  check = gr.Checkbox(label="Go")
64
  with gr.Column(variant="panel", scale=2):
65
- #Commented out the image
66
  img = gr.Image(
67
- #"https://i.ibb.co/F4hKFrZ/dark-miku.webp",
68
- "https://gradio.app/assets/img/header-image.jpg",
69
  label="Image",
70
  ).style(height=320)
71
  with gr.Row():
@@ -74,10 +73,10 @@ with gr.Blocks(theme='NoCrypt/miku') as demo:
74
  "Clear", label="Secondary Button", variant="secondary"
75
  )
76
 
77
- #Commented out returning image and placed an invalid image link
78
  def go(*args):
79
  time.sleep(3)
80
- return "https://gradio.app/assets/img/header-image.jpg"#"https://i.ibb.co/0rfK9Wm/light-miku-faded.webp"
81
 
82
  go_btn.click(go, [radio, drop, drop_2, check, name], img, api_name="go")
83
 
 
62
  )
63
  check = gr.Checkbox(label="Go")
64
  with gr.Column(variant="panel", scale=2):
65
+
66
  img = gr.Image(
67
+ "https://i.ibb.co/F4hKFrZ/dark-miku.webp",
 
68
  label="Image",
69
  ).style(height=320)
70
  with gr.Row():
 
73
  "Clear", label="Secondary Button", variant="secondary"
74
  )
75
 
76
+
77
  def go(*args):
78
  time.sleep(3)
79
+ return "https://i.ibb.co/0rfK9Wm/light-miku-faded.webp"
80
 
81
  go_btn.click(go, [radio, drop, drop_2, check, name], img, api_name="go")
82