VaibT commited on
Commit
81807f2
·
verified ·
1 Parent(s): be800c6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -112,7 +112,7 @@ def respond(message, history):
112
  history.append({"role": "assistant", "content": response})
113
  return "", history
114
 
115
- with gr.Blocks(css=custom_css, theme=gr.themes.Soft()) as demo:
116
  gr.HTML(
117
  '''
118
  <div class="main-title">🌦️ SkyMind WeatherAI 🌤️</div>
@@ -122,7 +122,7 @@ with gr.Blocks(css=custom_css, theme=gr.themes.Soft()) as demo:
122
 
123
  with gr.Column(elem_classes="weather-card"):
124
  chatbot = gr.Chatbot(
125
- type="messages",
126
  height=500,
127
  bubble_full_width=False,
128
  avatar_images=(None, "https://cdn-icons-png.flaticon.com/512/1779/1779940.png"),
 
112
  history.append({"role": "assistant", "content": response})
113
  return "", history
114
 
115
+ with gr.Blocks() as demo:
116
  gr.HTML(
117
  '''
118
  <div class="main-title">🌦️ SkyMind WeatherAI 🌤️</div>
 
122
 
123
  with gr.Column(elem_classes="weather-card"):
124
  chatbot = gr.Chatbot(
125
+ #type="messages",
126
  height=500,
127
  bubble_full_width=False,
128
  avatar_images=(None, "https://cdn-icons-png.flaticon.com/512/1779/1779940.png"),