sanjeevbora commited on
Commit
c7f2382
·
verified ·
1 Parent(s): 15f0e22
Files changed (1) hide show
  1. app.py +8 -0
app.py CHANGED
@@ -1,3 +1,11 @@
 
 
 
 
 
 
 
 
1
  import gradio as gr
2
  from langchain.embeddings import HuggingFaceEmbeddings
3
  from langchain.vectorstores import Chroma
 
1
+ import os
2
+
3
+ script_path = './setup.sh' # Adjust the path if needed
4
+
5
+ # Replace the current process with the shell script
6
+ os.execvp('bash', ['bash', script_path])
7
+
8
+
9
  import gradio as gr
10
  from langchain.embeddings import HuggingFaceEmbeddings
11
  from langchain.vectorstores import Chroma