Actualizando con modelos populares y confiables de Hugging Face
Browse files- app.py +8 -7
- requirements.txt +3 -1
app.py
CHANGED
@@ -30,14 +30,15 @@ MODELS = {
|
|
30 |
},
|
31 |
"image": {
|
32 |
"CompVis/stable-diffusion-v1-4": "Stable Diffusion v1.4 (Básico)",
|
33 |
-
"runwayml/stable-diffusion-v1-5": "Stable Diffusion v1.5",
|
34 |
"stabilityai/stable-diffusion-2-1": "Stable Diffusion 2.1",
|
35 |
"stabilityai/stable-diffusion-xl-base-1.0": "SDXL Base",
|
36 |
-
"stabilityai/stable-diffusion-
|
37 |
-
"
|
38 |
-
"
|
39 |
-
"
|
40 |
-
"
|
|
|
|
|
41 |
},
|
42 |
"chat": {
|
43 |
"microsoft/DialoGPT-medium": "Chat conversacional",
|
@@ -325,7 +326,7 @@ with gr.Blocks(title="Modelos Libres de IA", theme=gr.themes.Soft()) as demo:
|
|
325 |
with gr.Column():
|
326 |
image_model = gr.Dropdown(
|
327 |
choices=list(MODELS["image"].keys()),
|
328 |
-
value="
|
329 |
label="Modelo de Imagen"
|
330 |
)
|
331 |
image_prompt = gr.Textbox(
|
|
|
30 |
},
|
31 |
"image": {
|
32 |
"CompVis/stable-diffusion-v1-4": "Stable Diffusion v1.4 (Básico)",
|
|
|
33 |
"stabilityai/stable-diffusion-2-1": "Stable Diffusion 2.1",
|
34 |
"stabilityai/stable-diffusion-xl-base-1.0": "SDXL Base",
|
35 |
+
"stabilityai/stable-diffusion-3-medium": "SD 3 Medium",
|
36 |
+
"stabilityai/stable-diffusion-3.5-large": "SD 3.5 Large",
|
37 |
+
"black-forest-labs/FLUX.1-dev": "FLUX.1 Dev",
|
38 |
+
"black-forest-labs/FLUX.1-schnell": "FLUX.1 Schnell",
|
39 |
+
"prompthero/openjourney": "Midjourney Style",
|
40 |
+
"WarriorMama777/OrangeMixs": "Orange Mixs",
|
41 |
+
"hakurei/waifu-diffusion": "Waifu Diffusion"
|
42 |
},
|
43 |
"chat": {
|
44 |
"microsoft/DialoGPT-medium": "Chat conversacional",
|
|
|
326 |
with gr.Column():
|
327 |
image_model = gr.Dropdown(
|
328 |
choices=list(MODELS["image"].keys()),
|
329 |
+
value="black-forest-labs/FLUX.1-schnell",
|
330 |
label="Modelo de Imagen"
|
331 |
)
|
332 |
image_prompt = gr.Textbox(
|
requirements.txt
CHANGED
@@ -5,4 +5,6 @@ diffusers>=0.20.0
|
|
5 |
accelerate>=0.20.0
|
6 |
Pillow>=9.0.0
|
7 |
numpy>=1.21.0
|
8 |
-
requests>=2.28.0
|
|
|
|
|
|
5 |
accelerate>=0.20.0
|
6 |
Pillow>=9.0.0
|
7 |
numpy>=1.21.0
|
8 |
+
requests>=2.28.0
|
9 |
+
safetensors>=0.3.0
|
10 |
+
xformers>=0.0.20
|