Spaces:
Sleeping
Sleeping
update readme
Browse files
README.md
CHANGED
@@ -1,8 +1,8 @@
|
|
1 |
---
|
2 |
-
title: Map
|
3 |
-
emoji:
|
4 |
-
colorFrom:
|
5 |
-
colorTo:
|
6 |
sdk: gradio
|
7 |
sdk_version: 3.28.2
|
8 |
app_file: app.py
|
@@ -11,4 +11,12 @@ tags:
|
|
11 |
- jax-diffusers-event
|
12 |
---
|
13 |
|
14 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
---
|
2 |
+
title: Map Diffusers
|
3 |
+
emoji: 🗺️
|
4 |
+
colorFrom: purple
|
5 |
+
colorTo: blue
|
6 |
sdk: gradio
|
7 |
sdk_version: 3.28.2
|
8 |
app_file: app.py
|
|
|
11 |
- jax-diffusers-event
|
12 |
---
|
13 |
|
14 |
+
# Map Diffusers
|
15 |
+
|
16 |
+
This is a demo of the [JAX Diffusers]() library. It was trained on data with maptiles form
|
17 |
+
- [OpenStreetMap](https://www.openstreetmap.org/)
|
18 |
+
- [Mapbox Satellite](https://www.mapbox.com/maps/satellite/)
|
19 |
+
- [Stamen Watercolor](http://maps.stamen.com/watercolor/#12/37.7706/-122.3782)
|
20 |
+
- [Stamen Toner](http://maps.stamen.com/toner/#12/37.7706/-122.3782)
|
21 |
+
|
22 |
+
We did this as part of the [JAX Diffusers Event](https://github.com/huggingface/community-events/tree/main/jax-controlnet-sprint) making use of the TPU's provided by Google Cloud and Hugging Face. 🤗
|
app.py
CHANGED
@@ -13,15 +13,19 @@ iface = gr.Interface(
|
|
13 |
outputs=gr.components.Image(label="Output Image"),
|
14 |
title="Map Diffuser",
|
15 |
description="""
|
16 |
-
🌏 Generates
|
17 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
18 |
- "Satellite image of amsterdam with industrial area and highways"
|
19 |
-
- Watercolor style map of Amsterdam with residential area and highways
|
20 |
- "Toner style map of Amsterdam with residential area and highways"
|
21 |
- "Satellite image with forests and residential, no water"
|
22 |
"""
|
23 |
-
# examples=[["Satellite image of amsterdam with industrial area and highways"], [
|
24 |
-
# "Satellite image with forests and residential, no water"]]
|
25 |
)
|
26 |
|
27 |
iface.launch()
|
|
|
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:
|
17 |
+
`{style} map of {city} with {features}` or
|
18 |
+
`satellite image of {city} with {features}` or
|
19 |
+
`satellite image with {features}` or
|
20 |
+
`satellite image of {city} with {features} and no {features}`
|
21 |
+
and so on...
|
22 |
+
|
23 |
+
So for example:
|
24 |
- "Satellite image of amsterdam with industrial area and highways"
|
25 |
+
- "Watercolor style map of Amsterdam with residential area and highways"
|
26 |
- "Toner style map of Amsterdam with residential area and highways"
|
27 |
- "Satellite image with forests and residential, no water"
|
28 |
"""
|
|
|
|
|
29 |
)
|
30 |
|
31 |
iface.launch()
|