Spaces:
vilarin
/
Running on Zero

vilarin commited on
Commit
ee95208
1 Parent(s): a434ddd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -4
app.py CHANGED
@@ -1,5 +1,3 @@
1
-
2
-
3
  import gradio as gr
4
  import torch
5
  from diffusers import StableDiffusionXLPipeline, AutoencoderKL, KDPM2AncestralDiscreteScheduler
@@ -86,13 +84,13 @@ examples = [
86
  # Gradio Interface
87
 
88
  with gr.Blocks(css=CSS, js=JS, theme="soft") as demo:
89
- gr.HTML("<h1><center>Mobius💠</center></h1>")
90
  gr.HTML("<p><center><a href='https://huggingface.co/Corcelio/mobius'>mobius</a> text-to-image generation</center><br><center>Multi-Languages. Adding default prompts to enhance.</center></p>")
91
  with gr.Group():
92
  with gr.Row():
93
  prompt = gr.Textbox(label='Enter Your Prompt', value="best quality, HD, aesthetic", scale=6)
94
  submit = gr.Button(scale=1, variant='primary')
95
- img = gr.Image(label='Mobius Generated Image')
96
  with gr.Accordion("Advanced Options", open=False):
97
  with gr.Row():
98
  negative = gr.Textbox(label="Negative prompt", value="low quality")
 
 
 
1
  import gradio as gr
2
  import torch
3
  from diffusers import StableDiffusionXLPipeline, AutoencoderKL, KDPM2AncestralDiscreteScheduler
 
84
  # Gradio Interface
85
 
86
  with gr.Blocks(css=CSS, js=JS, theme="soft") as demo:
87
+ gr.HTML("<h1><center>SD3M🦄</center></h1>")
88
  gr.HTML("<p><center><a href='https://huggingface.co/Corcelio/mobius'>mobius</a> text-to-image generation</center><br><center>Multi-Languages. Adding default prompts to enhance.</center></p>")
89
  with gr.Group():
90
  with gr.Row():
91
  prompt = gr.Textbox(label='Enter Your Prompt', value="best quality, HD, aesthetic", scale=6)
92
  submit = gr.Button(scale=1, variant='primary')
93
+ img = gr.Image(label='SD3M Generated Image')
94
  with gr.Accordion("Advanced Options", open=False):
95
  with gr.Row():
96
  negative = gr.Textbox(label="Negative prompt", value="low quality")