johnnas12 commited on
Commit
84a322e
·
verified ·
1 Parent(s): 3b7ba86

Update src/streamlit_app.py

Browse files
Files changed (1) hide show
  1. src/streamlit_app.py +0 -2
src/streamlit_app.py CHANGED
@@ -3,8 +3,6 @@ from transformers import pipeline
3
  import os
4
 
5
  streamlit_data_dir = "/app/.streamlit"
6
- os.environ["STREAMLIT_GLOBAL_DATA"] = streamlit_data_dir
7
- os.makedirs(streamlit_data_dir, exist_ok=True)
8
  # Load the sentiment analysis pipeline with your fine-tuned model
9
  @st.cache_resource
10
  def load_model():
 
3
  import os
4
 
5
  streamlit_data_dir = "/app/.streamlit"
 
 
6
  # Load the sentiment analysis pipeline with your fine-tuned model
7
  @st.cache_resource
8
  def load_model():