Sebastiankay commited on
Commit
b42df16
·
verified ·
1 Parent(s): 7cbd293

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -239,13 +239,13 @@ def inpaint(image, invert):
239
  result = np.concatenate([color, alpha], axis=2)
240
  return [result]
241
 
242
- # theme = gr.themes.Soft(
243
- # primary_hue="emerald",
244
  # neutral_hue=gr.themes.Color(c100="#fce7f3", c200="#fbcfe8", c300="#f9a8d4", c400="#f472b6", c50="#fdf2f8", c500="#9b3b6b", c600="#7f2f53", c700="#641b3a", c800="#5d1431", c900="#361120", c950="#2b0d19"),
245
- # radius_size="sm",
246
- # )
247
 
248
- with gr.Blocks(theme=gr.themes.Soft()) as demo:
249
  gr.Markdown(DESCRIPTION)
250
  with gr.Tab("Canny Edge"):
251
  with gr.Row():
 
239
  result = np.concatenate([color, alpha], axis=2)
240
  return [result]
241
 
242
+ theme = gr.themes.Soft(
243
+ primary_hue="emerald",
244
  # neutral_hue=gr.themes.Color(c100="#fce7f3", c200="#fbcfe8", c300="#f9a8d4", c400="#f472b6", c50="#fdf2f8", c500="#9b3b6b", c600="#7f2f53", c700="#641b3a", c800="#5d1431", c900="#361120", c950="#2b0d19"),
245
+ radius_size="sm",
246
+ )
247
 
248
+ with gr.Blocks(theme=theme) as demo:
249
  gr.Markdown(DESCRIPTION)
250
  with gr.Tab("Canny Edge"):
251
  with gr.Row():