Yuvalamitay commited on
Commit
e8665f0
·
verified ·
1 Parent(s): d4a8d0e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -15
app.py CHANGED
@@ -91,20 +91,6 @@ def respond(message, history):
91
  )
92
  return response['choices'][0]['message']['content'].strip()
93
 
94
- chat_theme = gr.themes.Soft(
95
- primary_hue="FDE9E9",
96
- secondary_hue="D17E96",
97
- neutral_hue="9BADDC",
98
- spacing_size="lg",
99
- radius_size="lg"
100
- ).set(
101
- # Input area
102
- input_background_fill="*neutral_50",
103
- input_border_color_focus="*primary_300",
104
- # Button styling
105
- button_primary_background_fill="*primary_500",
106
- button_primary_background_fill_hover="*primary_400"
107
- )
108
- chatbot = gr.ChatInterface(respond, type="messages", theme=chat_theme)
109
  chatbot.launch()
110
  chatbot.chatbot.update([(None, "Hey! I’m your Gen-Z watch buddy \nI help you find your next favorite TV show based on what you have liked before, your age, and your favorite genre. Just say what you're into!")])
 
91
  )
92
  return response['choices'][0]['message']['content'].strip()
93
 
94
+ chatbot = gr.ChatInterface(respond, type="messages")
 
 
 
 
 
 
 
 
 
 
 
 
 
 
95
  chatbot.launch()
96
  chatbot.chatbot.update([(None, "Hey! I’m your Gen-Z watch buddy \nI help you find your next favorite TV show based on what you have liked before, your age, and your favorite genre. Just say what you're into!")])