Spaces:
Runtime error
Runtime error
Update
Browse files
app.py
CHANGED
@@ -44,8 +44,9 @@ def get_sd(translated_txt, samples, steps, scale, seed):
|
|
44 |
demo = gr.Blocks()
|
45 |
|
46 |
with demo:
|
47 |
-
gr.Markdown("
|
48 |
-
|
|
|
49 |
with gr.Row():
|
50 |
with gr.Column():
|
51 |
in_text_prompt = gr.Textbox(label="Enter English text here")
|
|
|
44 |
demo = gr.Blocks()
|
45 |
|
46 |
with demo:
|
47 |
+
gr.Markdown("<h1><centre>ERNIE in English !</centre></h1>")
|
48 |
+
gr.Markdown("<h3><centre>ERNIE-ViLG is a state-of-the-art text-to-image model that generates images from Chinese text.</centre></h3>")
|
49 |
+
gr.Markdown("<h3><centre>Note that due to limitations on available ram, this space generates only one image at the moment<br><br>Access the original model here - [ERNIE-ViLG](https://huggingface.co/spaces/PaddlePaddle/ERNIE-ViLG)</centre></h3>")
|
50 |
with gr.Row():
|
51 |
with gr.Column():
|
52 |
in_text_prompt = gr.Textbox(label="Enter English text here")
|