Hugging Face
Models
Datasets
Spaces
Community
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
danidanidani
/
GRDN.AI.3
like
6
Sleeping
App
Files
Files
Community
1
Fetching metadata from the HF Docker repository...
59f3825
GRDN.AI.3
/
startup.sh
danidanidani
Add startup script to fix OMP_NUM_THREADS before Streamlit starts
3605db7
about 2 months ago
raw
Copy download link
history
blame
173 Bytes
#!/bin/bash
# Fix HuggingFace Spaces OMP_NUM_THREADS issue
if
[[
"
$OMP_NUM_THREADS
"
== *
"m"
]];
then
export
OMP_NUM_THREADS=4
fi
# Start Streamlit
streamlit run app.py