Spaces:
Sleeping
Sleeping
fix spaces zero torch jit hack
#2
by
radames
- opened
app.py
CHANGED
@@ -1,4 +1,6 @@
|
|
1 |
import torch
|
|
|
|
|
2 |
import spaces
|
3 |
import gradio as gr
|
4 |
from diffusers import StableDiffusionPipeline
|
|
|
1 |
import torch
|
2 |
+
torch.jit.script = lambda f: f
|
3 |
+
|
4 |
import spaces
|
5 |
import gradio as gr
|
6 |
from diffusers import StableDiffusionPipeline
|