Spaces:
Running
on
Zero
Running
on
Zero
aifeifei798
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -3,7 +3,7 @@ import numpy as np
|
|
3 |
import random
|
4 |
import spaces
|
5 |
import torch
|
6 |
-
from diffusers import DiffusionPipeline
|
7 |
from huggingface_hub import hf_hub_download
|
8 |
|
9 |
dtype = torch.bfloat16
|
@@ -98,7 +98,7 @@ DarkIdol-flux-FeiFei is a text-to-image AI model designed to create aesthetic, d
|
|
98 |
minimum=256,
|
99 |
maximum=MAX_IMAGE_SIZE,
|
100 |
step=32,
|
101 |
-
value=
|
102 |
)
|
103 |
|
104 |
height = gr.Slider(
|
@@ -106,7 +106,7 @@ DarkIdol-flux-FeiFei is a text-to-image AI model designed to create aesthetic, d
|
|
106 |
minimum=256,
|
107 |
maximum=MAX_IMAGE_SIZE,
|
108 |
step=32,
|
109 |
-
value=
|
110 |
)
|
111 |
|
112 |
with gr.Row():
|
|
|
3 |
import random
|
4 |
import spaces
|
5 |
import torch
|
6 |
+
from diffusers import DiffusionPipeline, AutoencoderTiny
|
7 |
from huggingface_hub import hf_hub_download
|
8 |
|
9 |
dtype = torch.bfloat16
|
|
|
98 |
minimum=256,
|
99 |
maximum=MAX_IMAGE_SIZE,
|
100 |
step=32,
|
101 |
+
value=1088,
|
102 |
)
|
103 |
|
104 |
height = gr.Slider(
|
|
|
106 |
minimum=256,
|
107 |
maximum=MAX_IMAGE_SIZE,
|
108 |
step=32,
|
109 |
+
value=1920,
|
110 |
)
|
111 |
|
112 |
with gr.Row():
|