Spaces:
Running
on
Zero
Running
on
Zero
Avijit Ghosh
commited on
Commit
·
e36c39f
1
Parent(s):
f93dac8
add login
Browse files
app.py
CHANGED
@@ -12,6 +12,9 @@ import stone
|
|
12 |
import os
|
13 |
import spaces
|
14 |
|
|
|
|
|
|
|
15 |
# Define model initialization functions
|
16 |
def load_model(model_name):
|
17 |
if model_name == "stabilityai/sdxl-turbo":
|
|
|
12 |
import os
|
13 |
import spaces
|
14 |
|
15 |
+
from huggingface_hub import login
|
16 |
+
login()
|
17 |
+
|
18 |
# Define model initialization functions
|
19 |
def load_model(model_name):
|
20 |
if model_name == "stabilityai/sdxl-turbo":
|