DetGC commited on
Commit
f2d5416
·
verified ·
1 Parent(s): d9ee8eb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -4
app.py CHANGED
@@ -58,10 +58,6 @@ def random_choices():
58
  # https://huggingface.co/docs/api-inference/detailed_parameters
59
  # https://huggingface.co/docs/huggingface_hub/package_reference/inference_client
60
  async def infer(model_str, prompt, nprompt="", height=0, width=0, steps=0, cfg=0, seed=-1, timeout=inference_timeout):
61
-
62
- global loopcounter
63
- loopcounter = 1
64
-
65
  kwargs = {}
66
  if height > 0: kwargs["height"] = height
67
  if width > 0: kwargs["width"] = width
 
58
  # https://huggingface.co/docs/api-inference/detailed_parameters
59
  # https://huggingface.co/docs/huggingface_hub/package_reference/inference_client
60
  async def infer(model_str, prompt, nprompt="", height=0, width=0, steps=0, cfg=0, seed=-1, timeout=inference_timeout):
 
 
 
 
61
  kwargs = {}
62
  if height > 0: kwargs["height"] = height
63
  if width > 0: kwargs["width"] = width