Spaces:
Sleeping
Sleeping
add markdown
Browse files
app.py
CHANGED
@@ -8,9 +8,22 @@ def generate_image_predictions(prompt):
|
|
8 |
|
9 |
|
10 |
iface = gr.Interface(
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
11 |
fn=generate_image_predictions,
|
12 |
inputs=gr.components.Textbox(label="Enter a text prompt here"),
|
13 |
outputs=gr.components.Image(label="Output Image"),
|
|
|
14 |
title="π Map Diffuser",
|
15 |
description="""
|
16 |
π Generates images from a given text prompt. The prompts are in the format:
|
|
|
8 |
|
9 |
|
10 |
iface = gr.Interface(
|
11 |
+
gr.Markdown(
|
12 |
+
"""
|
13 |
+
# Map Diffuser π
|
14 |
+
Examples table:
|
15 |
+
| Prompt | Output |
|
16 |
+
| --- | --- |
|
17 |
+
| Satellite image of amsterdam with industrial area and highways | <img src="https://i.imgur.com/vrGpk45.png" width="300" /> |
|
18 |
+
| Watercolor style map of Amsterdam with residential area and highways | <img src="https://i.imgur.com/AQS34dk.png" width="300" /> |
|
19 |
+
| Toner style map of Amsterdam with residential area and highways | <img src="https://i.imgur.com/X8VcezT.png" width="300" /> |
|
20 |
+
| Satellite image with forests and residential, no water | <img src="https://i.imgur.com/MEccHdM.png" width="300" /> |
|
21 |
+
"""
|
22 |
+
),
|
23 |
fn=generate_image_predictions,
|
24 |
inputs=gr.components.Textbox(label="Enter a text prompt here"),
|
25 |
outputs=gr.components.Image(label="Output Image"),
|
26 |
+
|
27 |
title="π Map Diffuser",
|
28 |
description="""
|
29 |
π Generates images from a given text prompt. The prompts are in the format:
|