Spaces:
Runtime error
Runtime error
NassimeBejaia
commited on
Commit
•
ed661bb
1
Parent(s):
cea22e3
Update app.py
Browse files
app.py
CHANGED
@@ -114,7 +114,7 @@ def main():
|
|
114 |
|
115 |
if __name__ == '__main__':
|
116 |
|
117 |
-
os.system('git clone --recurse-submodules https://github.com/nnassime/test_detection.git
|
118 |
#os.system("sys.path.insert(0, './test_detection/yolov5/models')")
|
119 |
#os.system("sys.path.insert(0, './test_detection/yolov5')")
|
120 |
#sys.path.insert(0, './yolov5')
|
@@ -145,7 +145,7 @@ if __name__ == '__main__':
|
|
145 |
|
146 |
|
147 |
st.write(os.listdir())
|
148 |
-
st.write(os.listdir('test_detection/'))
|
149 |
#os.system('python test_detection/__streamlit_app.py')
|
150 |
|
151 |
load_model()
|
|
|
114 |
|
115 |
if __name__ == '__main__':
|
116 |
|
117 |
+
os.system('git clone --recurse-submodules https://github.com/nnassime/test_detection.git /home/user/app/')
|
118 |
#os.system("sys.path.insert(0, './test_detection/yolov5/models')")
|
119 |
#os.system("sys.path.insert(0, './test_detection/yolov5')")
|
120 |
#sys.path.insert(0, './yolov5')
|
|
|
145 |
|
146 |
|
147 |
st.write(os.listdir())
|
148 |
+
#st.write(os.listdir('test_detection/'))
|
149 |
#os.system('python test_detection/__streamlit_app.py')
|
150 |
|
151 |
load_model()
|