Spaces:
Runtime error
Runtime error
Commit
•
49a40ea
1
Parent(s):
83d6dda
Update app.py
Browse files
app.py
CHANGED
@@ -114,17 +114,17 @@ def main():
|
|
114 |
|
115 |
if __name__ == '__main__':
|
116 |
|
117 |
-
os.system('git clone --recurse-submodules https://github.com/nnassime/test_detection.git
|
118 |
|
119 |
st.write(os.listdir())
|
120 |
#st.write(os.listdir('test_detection/'))
|
121 |
#os.system('python test_detection/__streamlit_app.py')
|
122 |
|
123 |
-
|
124 |
st.write("bismillah")
|
125 |
print("bismillah")
|
126 |
|
127 |
-
|
128 |
|
129 |
st.write('out function ', os.listdir('test_detection/data/'))
|
130 |
st.write('out function ', os.listdir('test_detection/yolov5/weights/'))
|
|
|
114 |
|
115 |
if __name__ == '__main__':
|
116 |
|
117 |
+
os.system('git clone --recurse-submodules https://github.com/nnassime/test_detection.git')
|
118 |
|
119 |
st.write(os.listdir())
|
120 |
#st.write(os.listdir('test_detection/'))
|
121 |
#os.system('python test_detection/__streamlit_app.py')
|
122 |
|
123 |
+
load_model()
|
124 |
st.write("bismillah")
|
125 |
print("bismillah")
|
126 |
|
127 |
+
main()
|
128 |
|
129 |
st.write('out function ', os.listdir('test_detection/data/'))
|
130 |
st.write('out function ', os.listdir('test_detection/yolov5/weights/'))
|