eaglelandsonce commited on
Commit
caae255
·
verified ·
1 Parent(s): 287050f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -4,6 +4,7 @@ from typing import List
4
  # ---- Make Spaces happy: force CPU & avoid MPS/CUDA surprises ----
5
  os.environ.setdefault("CUDA_VISIBLE_DEVICES", "")
6
  os.environ.setdefault("PYTORCH_ENABLE_MPS_FALLBACK", "1")
 
7
 
8
  import numpy as np
9
  import gradio as gr
 
4
  # ---- Make Spaces happy: force CPU & avoid MPS/CUDA surprises ----
5
  os.environ.setdefault("CUDA_VISIBLE_DEVICES", "")
6
  os.environ.setdefault("PYTORCH_ENABLE_MPS_FALLBACK", "1")
7
+ os.environ.setdefault("COQUI_TOS_AGREED", "1") # add this line
8
 
9
  import numpy as np
10
  import gradio as gr