Spaces:
Sleeping
Sleeping
Yaron Koresh
commited on
Update app.py
Browse files
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
|