demoPOC commited on
Commit
7bd33cf
·
1 Parent(s): a4a901b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -61,11 +61,11 @@ def test():
61
 
62
  @app.route('/KBUploader')
63
  def KBUpload():
64
- return render_template("FileUpload.html")
65
 
66
  @app.route('/aiassist')
67
  def aiassist():
68
- return render_template("AIAssist.html")
69
 
70
  @app.route('/agent/chat/suggestion', methods=['POST'])
71
  def process_json():
@@ -120,7 +120,7 @@ def file_Upload():
120
  print(uploads_dir)
121
  documents = loadKB(fileprovided, urlProvided, uploads_dir, request)
122
  vectordb=createVectorDB(documents)
123
- return render_template("AIAssist.html")
124
 
125
  def createPrompt(cName, cCity, custDetailsPresent):
126
  cProfile = "Customer's Name is " + cName + "\nCustomer's lives in or customer's Resident State or Customer's place is " + cCity + "\n"
 
61
 
62
  @app.route('/KBUploader')
63
  def KBUpload():
64
+ return render_template("KBTrain.html")
65
 
66
  @app.route('/aiassist')
67
  def aiassist():
68
+ return render_template("index.html")
69
 
70
  @app.route('/agent/chat/suggestion', methods=['POST'])
71
  def process_json():
 
120
  print(uploads_dir)
121
  documents = loadKB(fileprovided, urlProvided, uploads_dir, request)
122
  vectordb=createVectorDB(documents)
123
+ return render_template("index.html")
124
 
125
  def createPrompt(cName, cCity, custDetailsPresent):
126
  cProfile = "Customer's Name is " + cName + "\nCustomer's lives in or customer's Resident State or Customer's place is " + cCity + "\n"