Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -215,14 +215,14 @@ def generate_fakemons(num_images, progress=gr.Progress()):
|
|
| 215 |
# 4. Interface Web (Gradio)
|
| 216 |
# βββββββββββββββββββββββββββββββββββββββββββββββ
|
| 217 |
with gr.Blocks(theme=gr.themes.Soft()) as demo:
|
| 218 |
-
gr.Markdown("# β‘ PokePixels
|
| 219 |
-
gr.Markdown("
|
| 220 |
|
| 221 |
with gr.Row():
|
| 222 |
with gr.Column(scale=1):
|
| 223 |
num_slider = gr.Slider(minimum=1, maximum=4, step=1, value=2, label="Quantidade de Fakemons", info="Mais imagens demoram mais tempo na CPU.")
|
| 224 |
-
gen_btn = gr.Button("
|
| 225 |
-
gr.Markdown("*
|
| 226 |
|
| 227 |
with gr.Column(scale=2):
|
| 228 |
gallery = gr.Gallery(label="Fakemons Gerados", show_label=True, elem_id="gallery", columns=[2], rows=[2], object_fit="contain", height="auto")
|
|
|
|
| 215 |
# 4. Interface Web (Gradio)
|
| 216 |
# βββββββββββββββββββββββββββββββββββββββββββββββ
|
| 217 |
with gr.Blocks(theme=gr.themes.Soft()) as demo:
|
| 218 |
+
gr.Markdown("# β‘ PokePixels 9M (Unconditional)")
|
| 219 |
+
gr.Markdown("Fakemon generator created from scratch and trained entirely on a CPU (Ryzen 5 5600G) by AxionLab-Co. As an unconditional Diffusion model, it creates creatures based on pure noise using 1000 steps (DDPM).")
|
| 220 |
|
| 221 |
with gr.Row():
|
| 222 |
with gr.Column(scale=1):
|
| 223 |
num_slider = gr.Slider(minimum=1, maximum=4, step=1, value=2, label="Quantidade de Fakemons", info="Mais imagens demoram mais tempo na CPU.")
|
| 224 |
+
gen_btn = gr.Button("Gernerate Fakemons! π", variant="primary")
|
| 225 |
+
gr.Markdown("*Note: Hugging Face's free server runs on CPU. Generating images may take 30 to 60 seconds.*")
|
| 226 |
|
| 227 |
with gr.Column(scale=2):
|
| 228 |
gallery = gr.Gallery(label="Fakemons Gerados", show_label=True, elem_id="gallery", columns=[2], rows=[2], object_fit="contain", height="auto")
|