Spaces:
Running
on
Zero
Running
on
Zero
update(*): HF space support.
Browse files
app.py
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
|
|
| 1 |
import torch
|
| 2 |
import numpy as np
|
| 3 |
from PIL import Image
|
|
@@ -13,7 +14,6 @@ from einops import rearrange
|
|
| 13 |
from datetime import datetime
|
| 14 |
from typing import Optional, List, Dict
|
| 15 |
from huggingface_hub import snapshot_download
|
| 16 |
-
import spaces
|
| 17 |
|
| 18 |
os.environ["GRADIO_TEMP_DIR"] = os.path.abspath(os.path.join(os.path.dirname(__file__), "gradio_cache"))
|
| 19 |
|
|
|
|
| 1 |
+
import spaces
|
| 2 |
import torch
|
| 3 |
import numpy as np
|
| 4 |
from PIL import Image
|
|
|
|
| 14 |
from datetime import datetime
|
| 15 |
from typing import Optional, List, Dict
|
| 16 |
from huggingface_hub import snapshot_download
|
|
|
|
| 17 |
|
| 18 |
os.environ["GRADIO_TEMP_DIR"] = os.path.abspath(os.path.join(os.path.dirname(__file__), "gradio_cache"))
|
| 19 |
|