Spaces:
Build error
Build error
Commit ·
55e4651
1
Parent(s): b27cfd6
Update load_model.py
Browse files- load_model.py +2 -2
load_model.py
CHANGED
|
@@ -1,8 +1,8 @@
|
|
| 1 |
import streamlit as st
|
| 2 |
import os
|
| 3 |
import git
|
| 4 |
-
if(os.path.isdir("./TickerExtraction")==False):
|
| 5 |
-
|
| 6 |
print(os.path.exists("rajaatif786/TickerExtraction/entity_model2.pt"))
|
| 7 |
#st.write(os.listdir("./TickerExtraction/"))
|
| 8 |
#x = st.slider('Select a value')
|
|
|
|
| 1 |
import streamlit as st
|
| 2 |
import os
|
| 3 |
import git
|
| 4 |
+
#if(os.path.isdir("./TickerExtraction")==False):
|
| 5 |
+
git.Git("./").clone("https://huggingface.co/rajaatif786/TickerExtraction")
|
| 6 |
print(os.path.exists("rajaatif786/TickerExtraction/entity_model2.pt"))
|
| 7 |
#st.write(os.listdir("./TickerExtraction/"))
|
| 8 |
#x = st.slider('Select a value')
|