brurei commited on
Commit
b404733
1 Parent(s): 8ae3b4c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -26,9 +26,9 @@ def construct_index(directory_path):
26
 
27
 
28
  def chatbot(input_text):
29
- input_text = str (input_text)
30
  index = GPTSimpleVectorIndex.load_from_disk('index.json')
31
- response = index.query(input_text.upper())
32
  return response.response
33
 
34
  description = """
 
26
 
27
 
28
  def chatbot(input_text):
29
+
30
  index = GPTSimpleVectorIndex.load_from_disk('index.json')
31
+ response = index.query(input_text)
32
  return response.response
33
 
34
  description = """