Update app.py
Browse files
app.py
CHANGED
@@ -2,6 +2,7 @@ import gradio as gr
|
|
2 |
import torch
|
3 |
from diffusers import StableDiffusion3Pipeline
|
4 |
import os
|
|
|
5 |
hf_token = os.environ.get("HF_TOKEN")
|
6 |
login(token=hf_token)
|
7 |
|
|
|
2 |
import torch
|
3 |
from diffusers import StableDiffusion3Pipeline
|
4 |
import os
|
5 |
+
from huggingface_hub import login
|
6 |
hf_token = os.environ.get("HF_TOKEN")
|
7 |
login(token=hf_token)
|
8 |
|