Update app.py
Browse files
app.py
CHANGED
|
@@ -1,16 +1,7 @@
|
|
| 1 |
import gradio as gr
|
| 2 |
|
| 3 |
-
#
|
| 4 |
-
|
| 5 |
-
return gr.Interface.load(
|
| 6 |
-
"models/SG161222/RealVisXL_V4.0",
|
| 7 |
-
title="Generador de Imágenes Realistas",
|
| 8 |
-
inputs=None,
|
| 9 |
-
outputs=None,
|
| 10 |
-
examples=[["Un hermoso atardecer"]],
|
| 11 |
-
live=False
|
| 12 |
-
)
|
| 13 |
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
app.launch()
|
|
|
|
| 1 |
import gradio as gr
|
| 2 |
|
| 3 |
+
# Cargar el modelo con Gradio
|
| 4 |
+
app = gr.Interface.load("models/SG161222/RealVisXL_V4.0")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 5 |
|
| 6 |
+
# Modificar los textos manualmente en el frontend
|
| 7 |
+
app.launch(title="Generador de Imágenes Realistas", examples=["Un hermoso atardecer"], live=False)
|
|
|