Spaces:
Running
on
Zero
Running
on
Zero
prithivMLmods
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -30,16 +30,6 @@ from diffusers.utils import load_image
|
|
30 |
|
31 |
import spaces
|
32 |
|
33 |
-
#---if workspace = local or colab---
|
34 |
-
|
35 |
-
# Authenticate with Hugging Face
|
36 |
-
# from huggingface_hub import login
|
37 |
-
|
38 |
-
# Log in to Hugging Face using the provided token
|
39 |
-
# hf_token = 'hf-token-authentication'
|
40 |
-
# login(hf_token)
|
41 |
-
|
42 |
-
|
43 |
def calculate_shift(
|
44 |
image_seq_len,
|
45 |
base_seq_len: int = 256,
|
|
|
30 |
|
31 |
import spaces
|
32 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
33 |
def calculate_shift(
|
34 |
image_seq_len,
|
35 |
base_seq_len: int = 256,
|