Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
@@ -20,8 +20,8 @@ diffuser_pipeline = DiffusionPipeline.from_pretrained(
|
|
20 |
speech_model=model,
|
21 |
speech_processor=processor,
|
22 |
use_auth_token=MY_SECRET_TOKEN,
|
23 |
-
|
24 |
-
|
25 |
)
|
26 |
|
27 |
diffuser_pipeline.enable_attention_slicing()
|
|
|
20 |
speech_model=model,
|
21 |
speech_processor=processor,
|
22 |
use_auth_token=MY_SECRET_TOKEN,
|
23 |
+
revision="fp16",
|
24 |
+
torch_dtype=torch.float16,
|
25 |
)
|
26 |
|
27 |
diffuser_pipeline.enable_attention_slicing()
|