PyroSama commited on
Commit
53db289
1 Parent(s): a504811

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -264,7 +264,7 @@ from langchain_core.output_parsers import StrOutputParser
264
  from langchain_community.vectorstores import Chroma
265
  from langchain_huggingface import HuggingFaceEmbeddings
266
  from langchain_core.runnables import RunnablePassthrough
267
- import chromadb.api
268
  chromadb.api.client.SharedSystemClient.clear_system_cache()
269
  os.environ['MISTRAL_API_KEY'] = 'XuyOObDE7trMbpAeI7OXYr3dnmoWy3L0'
270
 
@@ -430,4 +430,4 @@ with gr.Blocks() as demo:
430
  rag_interface.render()
431
 
432
  if __name__ == "__main__":
433
- demo.launch()
 
264
  from langchain_community.vectorstores import Chroma
265
  from langchain_huggingface import HuggingFaceEmbeddings
266
  from langchain_core.runnables import RunnablePassthrough
267
+ import chromadb
268
  chromadb.api.client.SharedSystemClient.clear_system_cache()
269
  os.environ['MISTRAL_API_KEY'] = 'XuyOObDE7trMbpAeI7OXYr3dnmoWy3L0'
270
 
 
430
  rag_interface.render()
431
 
432
  if __name__ == "__main__":
433
+ demo.launch(share=True)