moirakio commited on
Commit
ce67f09
·
1 Parent(s): 79ceeac

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -6,7 +6,7 @@ import gradio as gr
6
  import numpy as np
7
  import matplotlib.pyplot as plt
8
 
9
- theme = gr.themes.Default(primary_hue="pink").set(
10
  background_fill_primary="#ADD8E6",
11
  block_background_fill="#ADD8E6",
12
  )
@@ -71,7 +71,7 @@ Please adjust the values of the factors. Then it will analyze your probability o
71
 
72
  """
73
 
74
- with gr.Blocks(title=title) as demo:
75
  gr.Markdown(f"## {title}")
76
  gr.Markdown(description1)
77
  gr.Markdown("""---""")
 
6
  import numpy as np
7
  import matplotlib.pyplot as plt
8
 
9
+ color = gr.themes.Default(primary_hue="pink").set(
10
  background_fill_primary="#ADD8E6",
11
  block_background_fill="#ADD8E6",
12
  )
 
71
 
72
  """
73
 
74
+ with gr.Blocks(title=title, theme=color) as demo:
75
  gr.Markdown(f"## {title}")
76
  gr.Markdown(description1)
77
  gr.Markdown("""---""")