Spaces:
Runtime error
Runtime error
Commit
•
9130e8d
1
Parent(s):
3183ff3
init
Browse files
app.py
CHANGED
@@ -9,7 +9,7 @@ import mediapipe as mp
|
|
9 |
import gradio as gr
|
10 |
from diffusers import StableDiffusionInpaintPipeline
|
11 |
|
12 |
-
YOUR_TOKEN = os.environ.get(
|
13 |
|
14 |
device = torch.device('cuda' if torch.cuda.is_available() else 'cpu')
|
15 |
model_path = "runwayml/stable-diffusion-inpainting"
|
|
|
9 |
import gradio as gr
|
10 |
from diffusers import StableDiffusionInpaintPipeline
|
11 |
|
12 |
+
YOUR_TOKEN = os.environ.get('HF_TOKEN_SD')
|
13 |
|
14 |
device = torch.device('cuda' if torch.cuda.is_available() else 'cpu')
|
15 |
model_path = "runwayml/stable-diffusion-inpainting"
|