Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -10,7 +10,7 @@ from translatepy import Translator
|
|
| 10 |
translator = Translator()
|
| 11 |
|
| 12 |
# Constants
|
| 13 |
-
model = "Corcelio/
|
| 14 |
vae_model = "madebyollin/sdxl-vae-fp16-fix"
|
| 15 |
|
| 16 |
CSS = """
|
|
@@ -83,13 +83,13 @@ examples = [
|
|
| 83 |
# Gradio Interface
|
| 84 |
|
| 85 |
with gr.Blocks(css=CSS, js=JS, theme="soft") as demo:
|
| 86 |
-
gr.HTML("<h1><center>
|
| 87 |
-
gr.HTML("<p><center><a href='https://huggingface.co/Corcelio/
|
| 88 |
with gr.Group():
|
| 89 |
with gr.Row():
|
| 90 |
prompt = gr.Textbox(label='Enter Your Prompt', value="best quality, HD, aesthetic", scale=6)
|
| 91 |
submit = gr.Button(scale=1, variant='primary')
|
| 92 |
-
img = gr.Image(label='
|
| 93 |
with gr.Accordion("Advanced Options", open=False):
|
| 94 |
with gr.Row():
|
| 95 |
negative = gr.Textbox(label="Negative prompt", value="low quality")
|
|
|
|
| 10 |
translator = Translator()
|
| 11 |
|
| 12 |
# Constants
|
| 13 |
+
model = "Corcelio/mobius"
|
| 14 |
vae_model = "madebyollin/sdxl-vae-fp16-fix"
|
| 15 |
|
| 16 |
CSS = """
|
|
|
|
| 83 |
# Gradio Interface
|
| 84 |
|
| 85 |
with gr.Blocks(css=CSS, js=JS, theme="soft") as demo:
|
| 86 |
+
gr.HTML("<h1><center>Mobius</center></h1>")
|
| 87 |
+
gr.HTML("<p><center><a href='https://huggingface.co/Corcelio/mobius'>mobius</a> text-to-image generation</center><br><center>Multi-Languages. Midjourney Aesthetic for All Your Images</center></p>")
|
| 88 |
with gr.Group():
|
| 89 |
with gr.Row():
|
| 90 |
prompt = gr.Textbox(label='Enter Your Prompt', value="best quality, HD, aesthetic", scale=6)
|
| 91 |
submit = gr.Button(scale=1, variant='primary')
|
| 92 |
+
img = gr.Image(label='Mobius Generated Image')
|
| 93 |
with gr.Accordion("Advanced Options", open=False):
|
| 94 |
with gr.Row():
|
| 95 |
negative = gr.Textbox(label="Negative prompt", value="low quality")
|