tta1301 commited on
Commit
67bfa71
·
verified ·
1 Parent(s): 6988f61

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -0
app.py CHANGED
@@ -63,6 +63,13 @@ def rerank_documents(query, docs, top_n=5):
63
  return [doc for doc, _ in reranked[:top_n]]
64
 
65
 
 
 
 
 
 
 
 
66
 
67
 
68
 
 
63
  return [doc for doc, _ in reranked[:top_n]]
64
 
65
 
66
+ @app.route('/')
67
+ def index():
68
+ return '''
69
+ <h2>Medical Chatbot API</h2>
70
+ <p>App is running!</p>
71
+ <p>Use <code>/chat_chatbot</code> with POST method to interact with the chatbot.</p>
72
+ '''
73
 
74
 
75