Yaron Koresh commited on
Commit
cc532a7
·
verified ·
1 Parent(s): 41a4bcd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -4
app.py CHANGED
@@ -33,10 +33,6 @@ class MyModel(nn.Module):
33
  self.a = torch.cat([self.a, new_tensor], dim=0)
34
  return x
35
 
36
- for _ in range(10):
37
- out = model(x, extend=True)
38
- print(model.state_dict())
39
-
40
  def forest_schnell():
41
  PIPE = DiffusionPipeline.from_pretrained("black-forest-labs/FLUX.1-schnell", torch_dtype=torch.bfloat16, token=os.getenv("hf_token")).to("cuda")
42
  return PIPE
 
33
  self.a = torch.cat([self.a, new_tensor], dim=0)
34
  return x
35
 
 
 
 
 
36
  def forest_schnell():
37
  PIPE = DiffusionPipeline.from_pretrained("black-forest-labs/FLUX.1-schnell", torch_dtype=torch.bfloat16, token=os.getenv("hf_token")).to("cuda")
38
  return PIPE