Spaces:
Sleeping
Sleeping
Upload app.py
Browse files
app.py
CHANGED
|
@@ -284,7 +284,7 @@ def generate_all_styles(prompt, seed1, seed2, seed3, seed4, seed5, seed6, num_in
|
|
| 284 |
return all_images[0], all_images[1], all_images[2], all_images[3], all_images[4], all_images[5], "\n\n---\n\n".join(info_texts)
|
| 285 |
|
| 286 |
# Create Gradio interface
|
| 287 |
-
with gr.Blocks(title="Stable Diffusion Style Explorer"
|
| 288 |
|
| 289 |
gr.Markdown("""
|
| 290 |
# 🎨 Stable Diffusion Style Explorer
|
|
@@ -542,7 +542,8 @@ with gr.Blocks(title="Stable Diffusion Style Explorer",theme=gr.themes.Soft()) a
|
|
| 542 |
|
| 543 |
|
| 544 |
if __name__ == "__main__":
|
| 545 |
-
#demo.launch(server_name="0.0.0.0", server_port=7860, share=True)
|
| 546 |
print("RUNNING THIS FILE:", __file__)
|
| 547 |
-
demo.launch()
|
|
|
|
|
|
|
| 548 |
|
|
|
|
| 284 |
return all_images[0], all_images[1], all_images[2], all_images[3], all_images[4], all_images[5], "\n\n---\n\n".join(info_texts)
|
| 285 |
|
| 286 |
# Create Gradio interface
|
| 287 |
+
with gr.Blocks(title="Stable Diffusion Style Explorer") as demo:
|
| 288 |
|
| 289 |
gr.Markdown("""
|
| 290 |
# 🎨 Stable Diffusion Style Explorer
|
|
|
|
| 542 |
|
| 543 |
|
| 544 |
if __name__ == "__main__":
|
|
|
|
| 545 |
print("RUNNING THIS FILE:", __file__)
|
| 546 |
+
demo.launch(server_name="0.0.0.0", server_port=7860,theme=gr.themes.Soft() share=True)
|
| 547 |
+
|
| 548 |
+
#demo.launch()
|
| 549 |
|