adpro commited on
Commit
da0c555
·
1 Parent(s): 4d4bf00

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -52,8 +52,7 @@ def img2img_generate(source_img, prompt, steps=25, strength=0.75, seed=42, guida
52
 
53
  def txt2img_generate(prompt, steps=25, seed=42, guidance_scale=7.5, hidden=""):
54
 
55
- if hidden != os.environ["front_token"]:
56
- return None
57
 
58
  # cpu info
59
  # print(subprocess.check_output(["cat /proc/cpuinfo | grep 'model name' |uniq"], stderr=subprocess.STDOUT).decode("utf8"))
 
52
 
53
  def txt2img_generate(prompt, steps=25, seed=42, guidance_scale=7.5, hidden=""):
54
 
55
+
 
56
 
57
  # cpu info
58
  # print(subprocess.check_output(["cat /proc/cpuinfo | grep 'model name' |uniq"], stderr=subprocess.STDOUT).decode("utf8"))