i5732 benign hot-reload probe

#1
Files changed (2) hide show
  1. app.py +1 -17
  2. i5732_marker.txt +1 -0
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_b8d42d", int(seed)
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
37
 
38
  examples = [
39
  "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k",
i5732_marker.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ I5732_MARKER_a7f31c