Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -145,7 +145,7 @@ def fetch_url_data(url):
|
|
145 |
with gr.Blocks() as demo:
|
146 |
with gr.Tab("Demo"):
|
147 |
gr.Markdown("## Movie Plot Viewer")
|
148 |
-
movie_table = gr.Dataframe(value=data_for_dataframe, headers=headers, interactive=
|
149 |
submit_button = gr.Button("Update Data")
|
150 |
## value=[(None, "Hi, I'm a MongoDB and Heystack based question and answer bot 🤖, I can help you answer on the knowledge base above…")]
|
151 |
gr.ChatInterface(get_movies,examples=["What characters are from Rome?", "Combine 3 plots of your choice", "List all characters"], title="Atlas Vector Search Chat",description="This small chat uses a similarity search to find relevant plots as listed above, it uses MongoDB Atlas and Haystack integaration: https://haystack.deepset.ai/integrations/mongodb",submit_btn="Search").queue()
|
|
|
145 |
with gr.Blocks() as demo:
|
146 |
with gr.Tab("Demo"):
|
147 |
gr.Markdown("## Movie Plot Viewer")
|
148 |
+
movie_table = gr.Dataframe(value=data_for_dataframe, headers=headers, interactive=False)
|
149 |
submit_button = gr.Button("Update Data")
|
150 |
## value=[(None, "Hi, I'm a MongoDB and Heystack based question and answer bot 🤖, I can help you answer on the knowledge base above…")]
|
151 |
gr.ChatInterface(get_movies,examples=["What characters are from Rome?", "Combine 3 plots of your choice", "List all characters"], title="Atlas Vector Search Chat",description="This small chat uses a similarity search to find relevant plots as listed above, it uses MongoDB Atlas and Haystack integaration: https://haystack.deepset.ai/integrations/mongodb",submit_btn="Search").queue()
|