irmakakin commited on
Commit
5162633
·
verified ·
1 Parent(s): ce118f2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -97,7 +97,7 @@ def respond(message, history):
97
  )
98
  return response.choices[0].message["content"].strip()
99
 
100
- chatbot = gr.ChatInterface(respond, type="messages")
101
  cleaned_chunks = []
102
  def preprocess_text(text):
103
  # Strip extra whitespace from the beginning and the end of the text
 
97
  )
98
  return response.choices[0].message["content"].strip()
99
 
100
+
101
  cleaned_chunks = []
102
  def preprocess_text(text):
103
  # Strip extra whitespace from the beginning and the end of the text