Spaces:
Sleeping
Sleeping
update to python 3.11
Browse files- README.md +2 -2
- app.py +1 -1
- charles_actor.py +1 -1
- environment.yml +11 -11
- requirements.txt +9 -10
README.md
CHANGED
@@ -4,8 +4,8 @@ emoji: π
|
|
4 |
colorFrom: gray
|
5 |
colorTo: green
|
6 |
sdk: streamlit
|
7 |
-
python_version: 3.
|
8 |
-
sdk_version: 1.
|
9 |
app_file: app.py
|
10 |
pinned: true
|
11 |
license: mit
|
|
|
4 |
colorFrom: gray
|
5 |
colorTo: green
|
6 |
sdk: streamlit
|
7 |
+
python_version: 3.11.6
|
8 |
+
sdk_version: 1.26.0
|
9 |
app_file: app.py
|
10 |
pinned: true
|
11 |
license: mit
|
app.py
CHANGED
@@ -33,7 +33,7 @@ webrtc_ctx = None
|
|
33 |
@st.cache_resource
|
34 |
def init_ray():
|
35 |
try:
|
36 |
-
subprocess.check_output(["ray", "start", "--head"])
|
37 |
except Exception as e:
|
38 |
print (f"app.py init_ray: {e}")
|
39 |
# Connect to a running Ray cluster
|
|
|
33 |
@st.cache_resource
|
34 |
def init_ray():
|
35 |
try:
|
36 |
+
subprocess.check_output(["ray", "start", "--include-dashboard=True", "--head"])
|
37 |
except Exception as e:
|
38 |
print (f"app.py init_ray: {e}")
|
39 |
# Connect to a running Ray cluster
|
charles_actor.py
CHANGED
@@ -226,7 +226,7 @@ class CharlesActor:
|
|
226 |
|
227 |
def init_ray():
|
228 |
try:
|
229 |
-
subprocess.check_output(["ray", "start", "--head"])
|
230 |
except Exception as e:
|
231 |
print (f"charles_actor.py init_ray: {e}")
|
232 |
# Connect to a running Ray cluster
|
|
|
226 |
|
227 |
def init_ray():
|
228 |
try:
|
229 |
+
subprocess.check_output(["ray", "start", "--include-dashboard=True", "--head"])
|
230 |
except Exception as e:
|
231 |
print (f"charles_actor.py init_ray: {e}")
|
232 |
# Connect to a running Ray cluster
|
environment.yml
CHANGED
@@ -3,21 +3,21 @@ channels:
|
|
3 |
- pytorch
|
4 |
- nvidia
|
5 |
dependencies:
|
6 |
-
- python=3.
|
7 |
- pip
|
8 |
- pip:
|
9 |
- vosk==0.3.44
|
10 |
-
- opencv-python-headless==4.
|
11 |
- pydub==0.25.1
|
12 |
-
- streamlit_webrtc==0.
|
13 |
-
- twilio==8.
|
14 |
- python-dotenv==1.0.0
|
15 |
- watchdog==3.0.0
|
16 |
-
- torch==
|
17 |
-
- numpy==1.
|
18 |
- open_clip_torch==2.20.0
|
19 |
-
- transformers==4.
|
20 |
-
- openai==0.
|
21 |
-
- elevenlabs==0.2.
|
22 |
-
-
|
23 |
-
- ray==2.
|
|
|
3 |
- pytorch
|
4 |
- nvidia
|
5 |
dependencies:
|
6 |
+
- python=3.11
|
7 |
- pip
|
8 |
- pip:
|
9 |
- vosk==0.3.44
|
10 |
+
- opencv-python-headless==4.8.0.76
|
11 |
- pydub==0.25.1
|
12 |
+
- streamlit_webrtc==0.47.0
|
13 |
+
- twilio==8.8.0
|
14 |
- python-dotenv==1.0.0
|
15 |
- watchdog==3.0.0
|
16 |
+
- torch==2.0.1
|
17 |
+
- numpy==1.25.2
|
18 |
- open_clip_torch==2.20.0
|
19 |
+
- transformers==4.33.1
|
20 |
+
- openai==0.28.0
|
21 |
+
- elevenlabs==0.2.26
|
22 |
+
# - ray[default]==2.6.3
|
23 |
+
- ray==2.6.3
|
requirements.txt
CHANGED
@@ -1,15 +1,14 @@
|
|
1 |
vosk==0.3.44
|
2 |
-
opencv-python-headless==4.
|
3 |
pydub==0.25.1
|
4 |
-
streamlit_webrtc==0.
|
5 |
-
twilio==8.
|
6 |
python-dotenv==1.0.0
|
7 |
watchdog==3.0.0
|
8 |
-
torch==
|
9 |
-
numpy==1.
|
10 |
open_clip_torch==2.20.0
|
11 |
-
transformers==4.
|
12 |
-
openai==0.
|
13 |
-
elevenlabs==0.2.
|
14 |
-
|
15 |
-
ray==2.5.0
|
|
|
1 |
vosk==0.3.44
|
2 |
+
opencv-python-headless==4.8.0.76
|
3 |
pydub==0.25.1
|
4 |
+
streamlit_webrtc==0.47.0
|
5 |
+
twilio==8.8.0
|
6 |
python-dotenv==1.0.0
|
7 |
watchdog==3.0.0
|
8 |
+
torch==2.0.1
|
9 |
+
numpy==1.25.2
|
10 |
open_clip_torch==2.20.0
|
11 |
+
transformers==4.33.1
|
12 |
+
openai==0.28.0
|
13 |
+
elevenlabs==0.2.26
|
14 |
+
ray==2.6.3
|
|