Flux9665 commited on
Commit
d7c726f
β€’
1 Parent(s): fa66f8f

try to figure out how ZeroGPU works

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -5,7 +5,9 @@ import spaces
5
  from run_model_downloader import download_models
6
 
7
  download_models()
 
8
 
 
9
  import gradio as gr
10
  from Preprocessing.multilinguality.SimilaritySolver import load_json_from_path
11
  from Utility.utils import float2pcm
 
5
  from run_model_downloader import download_models
6
 
7
  download_models()
8
+ import multiprocessing
9
 
10
+ multiprocessing.set_start_method("spawn", force=True)
11
  import gradio as gr
12
  from Preprocessing.multilinguality.SimilaritySolver import load_json_from_path
13
  from Utility.utils import float2pcm