gsbm commited on
Commit
5298720
·
verified ·
1 Parent(s): c8487d0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
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