Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -79,9 +79,9 @@ from re import search
|
|
79 |
retriver=qdrant.as_retriever( search_type="similarity", search_kwargs={"k":2})
|
80 |
|
81 |
|
82 |
-
#search query
|
83 |
-
query="show me a best darmatology doctor in peshawar "
|
84 |
-
docs=retriver.get_relevant_documents(query)
|
85 |
|
86 |
|
87 |
from langchain import PromptTemplate
|
@@ -176,7 +176,7 @@ def reg(message, history):
|
|
176 |
# Gradio ChatInterface
|
177 |
demo = gr.ChatInterface(
|
178 |
fn=reg,
|
179 |
-
title="Doctors
|
180 |
theme="soft",
|
181 |
)
|
182 |
|
|
|
79 |
retriver=qdrant.as_retriever( search_type="similarity", search_kwargs={"k":2})
|
80 |
|
81 |
|
82 |
+
# #search query
|
83 |
+
# query="show me a best darmatology doctor in peshawar "
|
84 |
+
# docs=retriver.get_relevant_documents(query)
|
85 |
|
86 |
|
87 |
from langchain import PromptTemplate
|
|
|
176 |
# Gradio ChatInterface
|
177 |
demo = gr.ChatInterface(
|
178 |
fn=reg,
|
179 |
+
title="Doctors info Assist",
|
180 |
theme="soft",
|
181 |
)
|
182 |
|