danidanidani commited on
Commit
940f9c7
·
1 Parent(s): ff2cd8b

Remove numexpr to fix OMP_NUM_THREADS issue, revert to app.py

Browse files
.streamlit/config.toml CHANGED
@@ -1,6 +1,6 @@
1
- [theme]
2
- primaryColor = "#0e9591"
3
- backgroundColor = "#0E1117"
4
- secondaryBackgroundColor = "#262730"
5
- textColor = "#FAFAFA"
6
- font = "sans serif"
 
1
+ [server]
2
+ headless = true
3
+ port = 7860
4
+
5
+ [browser]
6
+ gatherUsageStats = false
README.md CHANGED
@@ -5,7 +5,7 @@ colorFrom: green
5
  colorTo: blue
6
  sdk: streamlit
7
  sdk_version: "1.23.1"
8
- app_file: streamlit_wrapper.py
9
  pinned: false
10
  ---
11
 
 
5
  colorTo: blue
6
  sdk: streamlit
7
  sdk_version: "1.23.1"
8
+ app_file: app.py
9
  pinned: false
10
  ---
11
 
packages.txt ADDED
File without changes
pre-requirements.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ # Uninstall problematic numexpr and reinstall pandas without it
requirements.txt CHANGED
@@ -40,7 +40,6 @@ more-itertools==9.1.0
40
  multidict==6.0.4
41
  mypy-extensions==1.0.0
42
  networkx==3.1
43
- numexpr==2.8.4
44
  numpy==1.25.0
45
  openai==0.27.8
46
  openapi-schema-pydantic==1.2.4
 
40
  multidict==6.0.4
41
  mypy-extensions==1.0.0
42
  networkx==3.1
 
43
  numpy==1.25.0
44
  openai==0.27.8
45
  openapi-schema-pydantic==1.2.4
setup.sh ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ #!/bin/bash
2
+ # This runs before dependencies install
3
+ unset OMP_NUM_THREADS
4
+ export OMP_NUM_THREADS=4