ashimanair commited on
Commit
688a522
·
verified ·
1 Parent(s): 83d4d88

please work

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -3,7 +3,7 @@ import random
3
  from huggingface_hub import InferenceClient
4
  from gradio.themes.utils import colors
5
 
6
- gr.themes.builder(
7
  primary_hue = colors.indigo,
8
  secondary_hue = colors.rose,
9
  neutral_hue = colors.gray
@@ -37,6 +37,6 @@ def random_message(message, history):
37
  random_choices = random.choice(choices)
38
  return random_choices
39
 
40
- chatbot = gr.ChatInterface(respond, type = "messages")
41
 
42
  chatbot.launch(debug=True)
 
3
  from huggingface_hub import InferenceClient
4
  from gradio.themes.utils import colors
5
 
6
+ theme = gr.themes.builder(
7
  primary_hue = colors.indigo,
8
  secondary_hue = colors.rose,
9
  neutral_hue = colors.gray
 
37
  random_choices = random.choice(choices)
38
  return random_choices
39
 
40
+ chatbot = gr.ChatInterface(respond, type = "messages", theme=theme)
41
 
42
  chatbot.launch(debug=True)