Spaces:
Running
on
Zero
Running
on
Zero
Update gradio_ui.py
Browse files- gradio_ui.py +1 -2
gradio_ui.py
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
|
|
| 1 |
import os
|
| 2 |
import torch
|
| 3 |
import PIL
|
|
@@ -17,8 +18,6 @@ from transformers import (
|
|
| 17 |
from safetensors.torch import load_file
|
| 18 |
from huggingface_hub import hf_hub_download, snapshot_download
|
| 19 |
|
| 20 |
-
import spaces
|
| 21 |
-
|
| 22 |
|
| 23 |
# ========== Initialization ==========
|
| 24 |
|
|
|
|
| 1 |
+
import spaces
|
| 2 |
import os
|
| 3 |
import torch
|
| 4 |
import PIL
|
|
|
|
| 18 |
from safetensors.torch import load_file
|
| 19 |
from huggingface_hub import hf_hub_download, snapshot_download
|
| 20 |
|
|
|
|
|
|
|
| 21 |
|
| 22 |
# ========== Initialization ==========
|
| 23 |
|