sohojoe commited on
Commit
88fcdcc
β€’
1 Parent(s): 82ab66c

update to python 3.11

Browse files
Files changed (5) hide show
  1. README.md +2 -2
  2. app.py +1 -1
  3. charles_actor.py +1 -1
  4. environment.yml +11 -11
  5. 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.9.16
8
- sdk_version: 1.22.0
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.9
7
  - pip
8
  - pip:
9
  - vosk==0.3.44
10
- - opencv-python-headless==4.7.0.72
11
  - pydub==0.25.1
12
- - streamlit_webrtc==0.45.0
13
- - twilio==8.2.1
14
  - python-dotenv==1.0.0
15
  - watchdog==3.0.0
16
- - torch==1.13.1
17
- - numpy==1.24.3
18
  - open_clip_torch==2.20.0
19
- - transformers==4.29.2
20
- - openai==0.27.7
21
- - elevenlabs==0.2.18
22
- - pydantic==1.10.9
23
- - ray==2.5.0
 
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.7.0.72
3
  pydub==0.25.1
4
- streamlit_webrtc==0.45.0
5
- twilio==8.2.1
6
  python-dotenv==1.0.0
7
  watchdog==3.0.0
8
- torch==1.13.1
9
- numpy==1.24.3
10
  open_clip_torch==2.20.0
11
- transformers==4.29.2
12
- openai==0.27.7
13
- elevenlabs==0.2.18
14
- pydantic==1.10.9
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