mkill33 commited on
Commit
84d39fa
·
verified ·
1 Parent(s): 026fbf1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -5,13 +5,13 @@ from gradio.themes.utils.theme_dropdown import create_theme_dropdown
5
 
6
  dropdown, js = create_theme_dropdown()
7
 
8
- with gr.Blocks(theme='NoCrypt/miku') as demo:
9
  with gr.Row().style(equal_height=True):
10
  with gr.Column(scale=10):
11
  gr.Markdown(
12
  """
13
- # Theme preview: `miku`
14
- To use this theme, set `theme='NoCrypt/miku'` in `gr.Blocks()` or `gr.Interface()`.
15
  You can append an `@` and a semantic version expression, e.g. @>=1.0.0,<2.0.0 to pin to a given version
16
  of this theme.
17
  """
@@ -63,7 +63,7 @@ with gr.Blocks(theme='NoCrypt/miku') as demo:
63
  check = gr.Checkbox(label="Go")
64
  with gr.Column(variant="panel", scale=2):
65
  img = gr.Image(
66
- "https://i.ibb.co/F4hKFrZ/dark-miku.webp",
67
  label="Image",
68
  ).style(height=320)
69
  with gr.Row():
@@ -74,7 +74,7 @@ with gr.Blocks(theme='NoCrypt/miku') as demo:
74
 
75
  def go(*args):
76
  time.sleep(3)
77
- return "https://i.ibb.co/0rfK9Wm/light-miku-faded.webp"
78
 
79
  go_btn.click(go, [radio, drop, drop_2, check, name], img, api_name="go")
80
 
 
5
 
6
  dropdown, js = create_theme_dropdown()
7
 
8
+ with gr.Blocks(theme='mkill33/HALO') as demo:
9
  with gr.Row().style(equal_height=True):
10
  with gr.Column(scale=10):
11
  gr.Markdown(
12
  """
13
+ # Theme preview: `HALO`
14
+ To use this theme, set `theme='mkill33/HALO'` in `gr.Blocks()` or `gr.Interface()`.
15
  You can append an `@` and a semantic version expression, e.g. @>=1.0.0,<2.0.0 to pin to a given version
16
  of this theme.
17
  """
 
63
  check = gr.Checkbox(label="Go")
64
  with gr.Column(variant="panel", scale=2):
65
  img = gr.Image(
66
+ "https://i.ibb.co/WvcLftqx/ring.png",
67
  label="Image",
68
  ).style(height=320)
69
  with gr.Row():
 
74
 
75
  def go(*args):
76
  time.sleep(3)
77
+ return "https://i.ibb.co/WvcLftqx/ring.png"
78
 
79
  go_btn.click(go, [radio, drop, drop_2, check, name], img, api_name="go")
80