Spaces:
Sleeping
Sleeping
Upload streamlit_app.py
Browse files- src/streamlit_app.py +3 -0
src/streamlit_app.py
CHANGED
@@ -1,3 +1,6 @@
|
|
|
|
|
|
|
|
1 |
import streamlit as st
|
2 |
from typing import List, Tuple
|
3 |
import re
|
|
|
1 |
+
import os
|
2 |
+
os.environ["HF_HOME"] = "/tmp/huggingface"
|
3 |
+
os.environ["TRANSFORMERS_CACHE"] = "/tmp/huggingface/transformers"
|
4 |
import streamlit as st
|
5 |
from typing import List, Tuple
|
6 |
import re
|