P01yH3dr0n commited on
Commit
d155417
1 Parent(s): a45ae8c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -77,6 +77,7 @@ def control_ui():
77
 
78
  async def generate(prompt, quality_tags, neg_prompt, seed, scale, width, height, steps, sampler, scheduler, smea, dyn, dyn_threshold, cfg_rescale, save):
79
  global today_count
 
80
  img_data, payload = await generate_novelai_image(
81
  f"{prompt}, {quality_tags}", neg_prompt, seed, scale,
82
  width, height, steps, sampler, scheduler,
 
77
 
78
  async def generate(prompt, quality_tags, neg_prompt, seed, scale, width, height, steps, sampler, scheduler, smea, dyn, dyn_threshold, cfg_rescale, save):
79
  global today_count
80
+ set_token(os.environ.get('token'))
81
  img_data, payload = await generate_novelai_image(
82
  f"{prompt}, {quality_tags}", neg_prompt, seed, scale,
83
  width, height, steps, sampler, scheduler,