earneleh commited on
Commit
9f7a252
·
1 Parent(s): d9c2130

adding image dir, making demo more french

Browse files
Files changed (3) hide show
  1. .gitignore +1 -0
  2. app.py +2 -2
  3. img/telegram-sq.png +0 -0
.gitignore ADDED
@@ -0,0 +1 @@
 
 
1
+ paris.py
app.py CHANGED
@@ -63,7 +63,7 @@ with gr.Blocks(theme='earneleh/paris') as demo:
63
  check = gr.Checkbox(label="Go")
64
  with gr.Column(variant="panel", scale=2):
65
  img = gr.Image(
66
- "https://raw.githubusercontent.com/gradio-app/gradio/main/js/_website/src/assets/img/header-image.jpg",
67
  label="Image",
68
  ).style(height=320)
69
  with gr.Row():
@@ -74,7 +74,7 @@ with gr.Blocks(theme='earneleh/paris') as demo:
74
 
75
  def go(*args):
76
  time.sleep(3)
77
- return "https://raw.githubusercontent.com/gradio-app/gradio/main/js/_website/src/assets/img/header-image.jpg"
78
 
79
  go_btn.click(go, [radio, drop, drop_2, check, name], img, api_name="go")
80
 
 
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/tower.jpg",
67
  label="Image",
68
  ).style(height=320)
69
  with gr.Row():
 
74
 
75
  def go(*args):
76
  time.sleep(3)
77
+ return "https://gradio-static-files.s3.us-west-2.amazonaws.com/tower.jpg"
78
 
79
  go_btn.click(go, [radio, drop, drop_2, check, name], img, api_name="go")
80
 
img/telegram-sq.png ADDED