Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -8,9 +8,15 @@ def band():
|
|
8 |
def generate_image(prompt):
|
9 |
# Use the model to generate an image from the prompt
|
10 |
return model(prompt)
|
|
|
|
|
|
|
|
|
|
|
|
|
11 |
|
12 |
# Create the Gradio interface
|
13 |
-
with gr.Blocks() as demo:
|
14 |
# Title and description
|
15 |
gr.Markdown("# BandW-Manga")
|
16 |
gr.Markdown(f"spaces version of BandW-Manga by @[alvdansen](https://huggingface.co/alvdansen/BandW-Manga).")
|
|
|
8 |
def generate_image(prompt):
|
9 |
# Use the model to generate an image from the prompt
|
10 |
return model(prompt)
|
11 |
+
|
12 |
+
|
13 |
+
your = gr.themes.Soft(
|
14 |
+
primary_hue="blue",
|
15 |
+
secondary_hue="orange")
|
16 |
+
|
17 |
|
18 |
# Create the Gradio interface
|
19 |
+
with gr.Blocks(theme=your) as demo:
|
20 |
# Title and description
|
21 |
gr.Markdown("# BandW-Manga")
|
22 |
gr.Markdown(f"spaces version of BandW-Manga by @[alvdansen](https://huggingface.co/alvdansen/BandW-Manga).")
|