AlekseyCalvin commited on
Commit
70d1bcb
·
verified ·
1 Parent(s): 6620166

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -1
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