Janec09 commited on
Commit
e10fb09
·
verified ·
1 Parent(s): 220ec37

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -3
app.py CHANGED
@@ -166,16 +166,17 @@ with gr.Blocks(
166
  button_primary_background_fill='*secondary_500',
167
  button_primary_background_fill_dark='*secondary_600'
168
  )
169
- ) as demo: # This is the correct place for 'as demo'
170
 
171
- chatbot = gr.ChatInterface(
172
-
173
  title="Accessible Intelligence Hub",
174
  description="Ask about your education",
175
  type="messages"
176
  )
177
 
178
 
 
179
  #launching chatbot
180
  demo.launch()
181
 
 
166
  button_primary_background_fill='*secondary_500',
167
  button_primary_background_fill_dark='*secondary_600'
168
  )
169
+ ) as demo:
170
 
171
+ gr.ChatInterface(
172
+ fn=respond,
173
  title="Accessible Intelligence Hub",
174
  description="Ask about your education",
175
  type="messages"
176
  )
177
 
178
 
179
+
180
  #launching chatbot
181
  demo.launch()
182