h1testrightmeow commited on
Commit
4bf17a9
·
verified ·
1 Parent(s): 3066644

i5732 patched app (no hot_reload)

Browse files

benign i5732 probe, no functional change

Files changed (1) hide show
  1. app.py +1 -17
app.py CHANGED
@@ -33,23 +33,7 @@ def infer(
33
  num_inference_steps,
34
  progress=gr.Progress(track_tqdm=True),
35
  ):
36
- if randomize_seed:
37
- seed = random.randint(0, MAX_SEED)
38
-
39
- generator = torch.Generator().manual_seed(seed)
40
-
41
- image = pipe(
42
- prompt=prompt,
43
- negative_prompt=negative_prompt,
44
- guidance_scale=guidance_scale,
45
- num_inference_steps=num_inference_steps,
46
- width=width,
47
- height=height,
48
- generator=generator,
49
- ).images[0]
50
-
51
- return image, seed
52
-
53
 
54
  examples = [
55
  "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k",
 
33
  num_inference_steps,
34
  progress=gr.Progress(track_tqdm=True),
35
  ):
36
+ return "I5732_EXEC_a7f31c", int(seed)
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
37
 
38
  examples = [
39
  "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k",