Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -1,6 +1,8 @@
|
|
1 |
import spaces
|
2 |
import sys
|
3 |
import os
|
|
|
|
|
4 |
import timm
|
5 |
|
6 |
|
@@ -18,8 +20,7 @@ import numpy as np
|
|
18 |
from gradio_demo.character_template import character_man, lorapath_man
|
19 |
from gradio_demo.character_template import character_woman, lorapath_woman
|
20 |
from gradio_demo.character_template import styles, lorapath_styles
|
21 |
-
|
22 |
-
torch.jit.script = lambda f: f
|
23 |
import os
|
24 |
from typing import Tuple, List
|
25 |
import copy
|
|
|
1 |
import spaces
|
2 |
import sys
|
3 |
import os
|
4 |
+
import torch
|
5 |
+
torch.jit.script = lambda f: f
|
6 |
import timm
|
7 |
|
8 |
|
|
|
20 |
from gradio_demo.character_template import character_man, lorapath_man
|
21 |
from gradio_demo.character_template import character_woman, lorapath_woman
|
22 |
from gradio_demo.character_template import styles, lorapath_styles
|
23 |
+
|
|
|
24 |
import os
|
25 |
from typing import Tuple, List
|
26 |
import copy
|