Spaces:
Runtime error
Runtime error
import gradio as gr | |
title="Texto a Imagen con Stable Diffusion 2.0" | |
description = '<h2 style="text-align:center">Prompt en Español!</h2>' | |
article = """ | |
El modelo usa: | |
- Texto a Imagen [Stable Diffusion 2.0](https://huggingface.co/stabilityai/stable-diffusion-2), | |
- Para la traduccion [Helsinki-NLP](https://huggingface.co/Helsinki-NLP) | |
\n ... y mucha magia ☺ | |
""" | |
text_imagen = gr.Interface.load("models/stabilityai/stable-diffusion-2") | |
text_translate = gr.Interface.load("models/Helsinki-NLP/opus-mt-es-en") | |
gr.Series(text_translate, text_imagen, title=title, description = description, article=article).launch(debug=True) |