Spaces:
Running
on
Zero
Running
on
Zero
gokaygokay
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -196,7 +196,7 @@ with gr.Blocks() as demo:
|
|
196 |
height = gr.Slider(512, 1024, label="Height", value=768, step=16)
|
197 |
with gr.Row():
|
198 |
guidance_scale = gr.Slider(0.0, 10.0, label="Guidance Scale", value=3.5, step=0.1)
|
199 |
-
num_inference_steps = gr.Slider(1, 50, label="Steps", value=
|
200 |
|
201 |
with gr.Accordion("3D Generation Settings", open=False):
|
202 |
gr.Markdown("Stage 1: Sparse Structure Generation")
|
@@ -282,7 +282,7 @@ if __name__ == "__main__":
|
|
282 |
huggingface_token = os.getenv("HUGGINGFACE_TOKEN")
|
283 |
|
284 |
dtype = torch.bfloat16
|
285 |
-
file_url = "https://huggingface.co/gokaygokay/flux-game/blob/main/
|
286 |
file_url = file_url.replace("/resolve/main/", "/blob/main/").replace("?download=true", "")
|
287 |
single_file_base_model = "camenduru/FLUX.1-dev-diffusers"
|
288 |
quantization_config_tf = BitsAndBytesConfigTF(load_in_8bit=True, bnb_8bit_compute_dtype=torch.bfloat16)
|
|
|
196 |
height = gr.Slider(512, 1024, label="Height", value=768, step=16)
|
197 |
with gr.Row():
|
198 |
guidance_scale = gr.Slider(0.0, 10.0, label="Guidance Scale", value=3.5, step=0.1)
|
199 |
+
num_inference_steps = gr.Slider(1, 50, label="Steps", value=8, step=1)
|
200 |
|
201 |
with gr.Accordion("3D Generation Settings", open=False):
|
202 |
gr.Markdown("Stage 1: Sparse Structure Generation")
|
|
|
282 |
huggingface_token = os.getenv("HUGGINGFACE_TOKEN")
|
283 |
|
284 |
dtype = torch.bfloat16
|
285 |
+
file_url = "https://huggingface.co/gokaygokay/flux-game/blob/main/hyperflux_00001_.q8_0.gguf"
|
286 |
file_url = file_url.replace("/resolve/main/", "/blob/main/").replace("?download=true", "")
|
287 |
single_file_base_model = "camenduru/FLUX.1-dev-diffusers"
|
288 |
quantization_config_tf = BitsAndBytesConfigTF(load_in_8bit=True, bnb_8bit_compute_dtype=torch.bfloat16)
|