Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -32,7 +32,7 @@ def generate_image(prompt, progress=gr.Progress()):
|
|
| 32 |
|
| 33 |
# Create Gradio interface
|
| 34 |
def create_ui():
|
| 35 |
-
with gr.Blocks(theme="hev832/Applio") as ui:
|
| 36 |
gr.Markdown("## Flux Uncensored\nUnofficial Gradio Demo")
|
| 37 |
|
| 38 |
prompt_input = gr.Textbox(label="Enter a Prompt", placeholder="Describe the image you want to generate", lines=3)
|
|
@@ -48,4 +48,4 @@ def create_ui():
|
|
| 48 |
|
| 49 |
# Run the interface
|
| 50 |
if __name__ == "__main__":
|
| 51 |
-
create_ui().launch()
|
|
|
|
| 32 |
|
| 33 |
# Create Gradio interface
|
| 34 |
def create_ui():
|
| 35 |
+
with gr.Blocks(theme="hev832/Applio", title="Flux Uncensored") as ui:
|
| 36 |
gr.Markdown("## Flux Uncensored\nUnofficial Gradio Demo")
|
| 37 |
|
| 38 |
prompt_input = gr.Textbox(label="Enter a Prompt", placeholder="Describe the image you want to generate", lines=3)
|
|
|
|
| 48 |
|
| 49 |
# Run the interface
|
| 50 |
if __name__ == "__main__":
|
| 51 |
+
create_ui().launch(debug=True)
|