Dagfinn1962 commited on
Commit
3b25408
·
verified ·
1 Parent(s): a47a25c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +10 -1
app.py CHANGED
@@ -29,7 +29,16 @@ def generate(starting_text):
29
  if response_end != "":
30
  return response_end
31
  with grad.Blocks(theme=grad.themes.Soft()) as demo:
32
-
 
 
 
 
 
 
 
 
 
33
  #with grad.Blocks(theme='soft') as demo:
34
  #with grad.Blocks(css='style.css') as demo:
35
  grad.HTML(
 
29
  if response_end != "":
30
  return response_end
31
  with grad.Blocks(theme=grad.themes.Soft()) as demo:
32
+
33
+
34
+ theme = grad.themes.Glass(
35
+ primary_hue="rose",
36
+ secondary_hue="indigo",
37
+ neutral_hue=gr.themes.Color(c100="#d1fae5", c200="#a7f3d0", c300="#6ee7b7", c400="#34d399", c50="#131514", c500="#0a0b0a", c600="#059669", c700="#047857", c800="#065f46", c900="#064e3b", c950="#054436"),
38
+ )as demo:
39
+
40
+ #with gr.Blocks(theme=theme) as demo:
41
+ ...
42
  #with grad.Blocks(theme='soft') as demo:
43
  #with grad.Blocks(css='style.css') as demo:
44
  grad.HTML(