Spaces:
Sleeping
Sleeping
AlekseyCalvin
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -19,7 +19,6 @@ from safetensors.torch import load_file
|
|
19 |
from transformers import CLIPModel, CLIPProcessor, CLIPTextModel, CLIPTokenizer, CLIPConfig, T5EncoderModel, T5Tokenizer
|
20 |
import gc
|
21 |
from gradio_client import Client
|
22 |
-
Client = Client("AlekseyCalvin/soonfactory4", hf_token=os.getenv("HF_TOKEN"))
|
23 |
|
24 |
cache_path = path.join(path.dirname(path.abspath(__file__)), "models")
|
25 |
os.environ["TRANSFORMERS_CACHE"] = cache_path
|
|
|
19 |
from transformers import CLIPModel, CLIPProcessor, CLIPTextModel, CLIPTokenizer, CLIPConfig, T5EncoderModel, T5Tokenizer
|
20 |
import gc
|
21 |
from gradio_client import Client
|
|
|
22 |
|
23 |
cache_path = path.join(path.dirname(path.abspath(__file__)), "models")
|
24 |
os.environ["TRANSFORMERS_CACHE"] = cache_path
|