Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -85,10 +85,7 @@ if torch.cuda.is_available():
|
|
85 |
pipe.scheduler = FlowMatchEulerDiscreteScheduler.from_config(pipe.scheduler.config)
|
86 |
pipe2.scheduler = FlowMatchEulerDiscreteScheduler.from_config(pipe2.scheduler.config)
|
87 |
|
88 |
-
print(pipe.
|
89 |
-
print(pipe.tokenizer_3.model_max_length)
|
90 |
-
|
91 |
-
pipe.tokenizer_max_length=512
|
92 |
|
93 |
# Function
|
94 |
@spaces.GPU()
|
|
|
85 |
pipe.scheduler = FlowMatchEulerDiscreteScheduler.from_config(pipe.scheduler.config)
|
86 |
pipe2.scheduler = FlowMatchEulerDiscreteScheduler.from_config(pipe2.scheduler.config)
|
87 |
|
88 |
+
print(pipe.tokenizer_max_length)
|
|
|
|
|
|
|
89 |
|
90 |
# Function
|
91 |
@spaces.GPU()
|