Spaces:
Runtime error
Runtime error
Upload app.py
Browse files
app.py
CHANGED
@@ -1,6 +1,7 @@
|
|
1 |
import spaces
|
2 |
from pathlib import Path
|
3 |
-
|
|
|
4 |
import torch
|
5 |
import gradio as gr
|
6 |
|
|
|
1 |
import spaces
|
2 |
from pathlib import Path
|
3 |
+
import torch.multiprocessing as mp
|
4 |
+
mp.set_start_method('spawn')
|
5 |
import torch
|
6 |
import gradio as gr
|
7 |
|