Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse filesadded hf login
app.py
CHANGED
@@ -4,7 +4,9 @@ from PIL import Image
|
|
4 |
import torch
|
5 |
import numpy as np
|
6 |
import cv2
|
7 |
-
import gradio as gr
|
|
|
|
|
8 |
|
9 |
controlnet_conditioning_scale = 0.5 # recommended for good generalization
|
10 |
|
|
|
4 |
import torch
|
5 |
import numpy as np
|
6 |
import cv2
|
7 |
+
import gradio as gr
|
8 |
+
from huggingface_hub import login
|
9 |
+
login()
|
10 |
|
11 |
controlnet_conditioning_scale = 0.5 # recommended for good generalization
|
12 |
|