Spaces:
Build error
Build error
load chroma before the app to avoid the error
Browse files
app.py
CHANGED
@@ -224,4 +224,5 @@ with gr.Blocks() as demo:
|
|
224 |
query_button.click(query_documents, inputs=query_input, outputs=query_output)
|
225 |
|
226 |
if __name__ == "__main__":
|
|
|
227 |
demo.launch()
|
|
|
224 |
query_button.click(query_documents, inputs=query_input, outputs=query_output)
|
225 |
|
226 |
if __name__ == "__main__":
|
227 |
+
os.system("chroma run --host localhost --port 8000")
|
228 |
demo.launch()
|