Spaces:
Running
Running
Update app.py
Browse files
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 |
|