Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -6,6 +6,11 @@ from stable_diffusion_videos import StableDiffusionWalkPipeline, generate_images
|
|
6 |
from diffusers.schedulers import LMSDiscreteScheduler
|
7 |
import torch
|
8 |
|
|
|
|
|
|
|
|
|
|
|
9 |
|
10 |
class ImageGenerationInterface:
|
11 |
def __init__(self, pipeline):
|
|
|
6 |
from diffusers.schedulers import LMSDiscreteScheduler
|
7 |
import torch
|
8 |
|
9 |
+
import os
|
10 |
+
from huggingface_hub import HfFolder
|
11 |
+
|
12 |
+
HfFolder().set_token(os.environ['HF_TOKEN'])
|
13 |
+
|
14 |
|
15 |
class ImageGenerationInterface:
|
16 |
def __init__(self, pipeline):
|