Bwrite commited on
Commit
09d5940
·
verified ·
1 Parent(s): 62dce3c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -505,11 +505,11 @@ class BOUESTIChatbot:
505
  return history, ""
506
 
507
  def gradio_chat(self, message, history):
508
- """Gradio chat interface function"""
509
- if not message.strip():
510
- return history, ""
511
- response = self.generate_response(message)
512
- return history + [[message, response]], ""
513
 
514
  def create_gradio_interface(self):
515
  """Create Gradio interface with proper event binding"""
 
505
  return history, ""
506
 
507
  def gradio_chat(self, message, history):
508
+ """Gradio chat interface function"""
509
+ if not message.strip():
510
+ return history, ""
511
+ response = self.generate_response(message)
512
+ return history + [[message, response]], ""
513
 
514
  def create_gradio_interface(self):
515
  """Create Gradio interface with proper event binding"""