Spaces:
Running
on
T4
Running
on
T4
try to figure out how ZeroGPU works
Browse files
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
|