Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -133,7 +133,7 @@ def fetch_url_data(url):
|
|
133 |
with gr.Blocks() as demo:
|
134 |
with gr.Tab("Demo"):
|
135 |
|
136 |
-
gr.ChatInterface(get_rag,examples=["List all employees", "Where does jane work?", "Who has the highest salary? List it"], title="Atlas Vector Search Chat",description="This small chat uses a similarity search to find relevant
|
137 |
|
138 |
with gr.Tab("Code"):
|
139 |
gr.Code(label="Code", language="python", value=fetch_url_data('https://huggingface.co/spaces/MongoDB/mongodb-gemini-rag/raw/main/app.py'))
|
|
|
133 |
with gr.Blocks() as demo:
|
134 |
with gr.Tab("Demo"):
|
135 |
|
136 |
+
gr.ChatInterface(get_rag,examples=["List all employees", "Where does jane work?", "Who has the highest salary? List it"], title="Atlas Vector Search Chat",description="This small chat uses a similarity search to find relevant employees as listed in the app.py inserts, it uses MongoDB Atlas and Google Gemini.",submit_btn="Search").queue()
|
137 |
|
138 |
with gr.Tab("Code"):
|
139 |
gr.Code(label="Code", language="python", value=fetch_url_data('https://huggingface.co/spaces/MongoDB/mongodb-gemini-rag/raw/main/app.py'))
|