Tonic commited on
Commit
b948a13
·
verified ·
1 Parent(s): 706e53a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -3
app.py CHANGED
@@ -19,8 +19,7 @@ title = '''# 👋🏻Welcome to Tonic's🌟🎥StableVideo XT-1-1
19
  Join us : 🌟TeamTonic🌟 is always making cool demos! Join our active builder's🛠️community 👻 [![Join us on Discord](https://img.shields.io/discord/1109943800132010065?label=Discord&logo=discord&style=flat-square)](https://discord.gg/GWpVpekp) On 🤗Huggingface: [TeamTonic](https://huggingface.co/TeamTonic) & [MultiTransformer](https://huggingface.co/MultiTransformer) On 🌐Github: [Tonic-AI](https://github.com/tonic-ai) & contribute to 🌟 [SciTonic](https://github.com/Tonic-AI/scitonic) 🤗Big thanks to Yuvi Sharma and all the folks at huggingface for the community grant 🤗
20
  '''
21
 
22
- script_dir = os.path.dirname(os.path.abspath(__file__))
23
- downloaded_safetensors_path = os.path.join(script_dir, "svd_xt_1_1.safetensors")
24
  if not os.path.exists(downloaded_safetensors_path):
25
  raise FileNotFoundError(f"The file {downloaded_safetensors_path} was not found.")
26
 
@@ -29,7 +28,6 @@ pipe = StableVideoDiffusionPipeline.from_pretrained(
29
  original_model_id,
30
  torch_dtype=torch.float16,
31
  variant="fp16",
32
- # use_auth_token=hf_token
33
  )
34
 
35
  cache_dir = os.path.join(os.path.expanduser("~"), ".cache/huggingface/diffusers")
 
19
  Join us : 🌟TeamTonic🌟 is always making cool demos! Join our active builder's🛠️community 👻 [![Join us on Discord](https://img.shields.io/discord/1109943800132010065?label=Discord&logo=discord&style=flat-square)](https://discord.gg/GWpVpekp) On 🤗Huggingface: [TeamTonic](https://huggingface.co/TeamTonic) & [MultiTransformer](https://huggingface.co/MultiTransformer) On 🌐Github: [Tonic-AI](https://github.com/tonic-ai) & contribute to 🌟 [SciTonic](https://github.com/Tonic-AI/scitonic) 🤗Big thanks to Yuvi Sharma and all the folks at huggingface for the community grant 🤗
20
  '''
21
 
22
+ downloaded_safetensors_path = "svd_xt_1_1.safetensors"
 
23
  if not os.path.exists(downloaded_safetensors_path):
24
  raise FileNotFoundError(f"The file {downloaded_safetensors_path} was not found.")
25
 
 
28
  original_model_id,
29
  torch_dtype=torch.float16,
30
  variant="fp16",
 
31
  )
32
 
33
  cache_dir = os.path.join(os.path.expanduser("~"), ".cache/huggingface/diffusers")