demetz commited on
Commit
ac4492f
·
verified ·
1 Parent(s): 24e72f5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -4
app.py CHANGED
@@ -70,7 +70,12 @@ google_font_link = """
70
  </style>
71
  """
72
 
73
- with gr.Blocks() as chatbot:
 
 
 
 
 
74
  # gr.HTML(google_font_link)
75
 
76
  with gr.Row():
@@ -93,9 +98,7 @@ with gr.Blocks() as chatbot:
93
  fn=respond,
94
  additional_inputs=[character_name, character_class, character_alignment], # Pass name into function!
95
  type="messages",
96
- examples=None,
97
- title="Character Creator",
98
- description="Welcome! Tell me what you want to create and we can make your character come to life!"
99
  )
100
 
101
  chatbot.launch()
 
70
  </style>
71
  """
72
 
73
+ theme = gr.themes.Base(
74
+ primary_hue="yellow",
75
+ neutral_hue="amber"
76
+ )
77
+
78
+ with gr.Blocks(theme=theme) as chatbot:
79
  # gr.HTML(google_font_link)
80
 
81
  with gr.Row():
 
98
  fn=respond,
99
  additional_inputs=[character_name, character_class, character_alignment], # Pass name into function!
100
  type="messages",
101
+ examples=None
 
 
102
  )
103
 
104
  chatbot.launch()