mgetz commited on
Commit
2746010
·
verified ·
1 Parent(s): 91154b0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -3
app.py CHANGED
@@ -131,7 +131,7 @@ def respond(message, history, name, mood, topic):
131
 
132
  response = client.chat_completion(
133
  messages,
134
- max_tokens=130,
135
  temperature=0.3
136
  )
137
  print(message)
@@ -170,8 +170,10 @@ with gr.Blocks(theme=gr.themes.Citrus(
170
  button_primary_background_fill_dark='*secondary_600'
171
  )) as chatbot:
172
  with gr.Row(scale=1):
173
- gr.Image("ask_quentin_banner.jpg", show_label = False, show_share_button = False, show_download_button = False)
174
- quentin_topic = gr.CheckboxGroup(["Self Help", "Duck Facts"], label="What do you want help with?")
 
 
175
  with gr.Row(scale=3):
176
  with gr.Column(scale=1):
177
  gr.Image("Quentin.png", show_label = False, show_share_button = False, show_download_button = False)
 
131
 
132
  response = client.chat_completion(
133
  messages,
134
+ max_tokens=150,
135
  temperature=0.3
136
  )
137
  print(message)
 
170
  button_primary_background_fill_dark='*secondary_600'
171
  )) as chatbot:
172
  with gr.Row(scale=1):
173
+ gr.Row(scale=1):
174
+ gr.Image("ask_quentin_banner.jpg", show_label = False, show_share_button = False, show_download_button = False)
175
+ gr.Row(scale=1):
176
+ quentin_topic = gr.CheckboxGroup(["Self Help", "Duck Facts"], label="What do you want help with?")
177
  with gr.Row(scale=3):
178
  with gr.Column(scale=1):
179
  gr.Image("Quentin.png", show_label = False, show_share_button = False, show_download_button = False)