Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
@@ -9,7 +9,6 @@ model_name = os.environ.get('MODEL_REPO_ID')
|
|
9 |
pipe = DiffusionPipeline.from_pretrained(
|
10 |
model_name,
|
11 |
torch_dtype=torch.float16,
|
12 |
-
variant="fp16"
|
13 |
)
|
14 |
|
15 |
def generate(prompt, negative_prompt, num_inference_steps, guidance_scale, width, height, num_samples):
|
|
|
9 |
pipe = DiffusionPipeline.from_pretrained(
|
10 |
model_name,
|
11 |
torch_dtype=torch.float16,
|
|
|
12 |
)
|
13 |
|
14 |
def generate(prompt, negative_prompt, num_inference_steps, guidance_scale, width, height, num_samples):
|