saburq commited on
Commit
614dfc6
β€’
1 Parent(s): 3fcfa83

add markdown

Browse files
Files changed (1) hide show
  1. app.py +13 -0
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: