Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -62,7 +62,8 @@ def generate(
|
|
62 |
num_inference_steps_base=num_inference_steps_base,
|
63 |
num_inference_steps_refiner=num_inference_steps_refiner,
|
64 |
apply_refiner=apply_refiner,
|
65 |
-
api_name="/run"
|
|
|
66 |
)
|
67 |
image = pixelate(result, 16)
|
68 |
return image
|
|
|
62 |
num_inference_steps_base=num_inference_steps_base,
|
63 |
num_inference_steps_refiner=num_inference_steps_refiner,
|
64 |
apply_refiner=apply_refiner,
|
65 |
+
api_name="/run",
|
66 |
+
hf_token=os.environ['HF_TOKEN']
|
67 |
)
|
68 |
image = pixelate(result, 16)
|
69 |
return image
|