Spaces:
Running
Running
Ming Li
commited on
Commit
•
77d5c02
1
Parent(s):
d35440b
try to avoid jit error
Browse files
app.py
CHANGED
@@ -4,6 +4,7 @@ from __future__ import annotations
|
|
4 |
|
5 |
import gradio as gr
|
6 |
import torch
|
|
|
7 |
import spaces
|
8 |
|
9 |
from app_canny import create_demo as create_demo_canny
|
|
|
4 |
|
5 |
import gradio as gr
|
6 |
import torch
|
7 |
+
torch.jit.script = lambda f: f
|
8 |
import spaces
|
9 |
|
10 |
from app_canny import create_demo as create_demo_canny
|