Spaces:
Runtime error
Runtime error
update image urls
Browse files- .gitignore +2 -0
- app.py +16 -10
- images/vrGpk45.png +0 -0
.gitignore
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
|
|
|
| 1 |
+
|
| 2 |
+
*.pyc
|
app.py
CHANGED
|
@@ -14,26 +14,32 @@ with demo:
|
|
| 14 |
"""
|
| 15 |
# 🌍 Map Diffuser
|
| 16 |
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
`
|
| 21 |
-
`satellite image of {city} with {features}
|
|
|
|
|
|
|
| 22 |
and so on...
|
| 23 |
|
| 24 |
-
So for example:
|
|
|
|
| 25 |
- "Satellite image of amsterdam with industrial area and highways"
|
| 26 |
- "Watercolor style map of Amsterdam with residential area and highways"
|
| 27 |
- "Toner style map of Amsterdam with residential area and highways"
|
| 28 |
- "Satellite image with forests and residential, no water"
|
| 29 |
|
|
|
|
|
|
|
| 30 |
Examples table:
|
|
|
|
| 31 |
| Prompt | Output |
|
| 32 |
| --- | --- |
|
| 33 |
-
| Satellite image of
|
| 34 |
-
| Watercolor style map of Amsterdam with residential area and highways | <img src="https://
|
| 35 |
-
| Toner style map of Amsterdam with residential area and highways | <img src="https://
|
| 36 |
-
| Satellite image with forests and residential, no water | <img src="https://
|
| 37 |
"""
|
| 38 |
)
|
| 39 |
input = gr.components.Textbox(label="Enter a text prompt here")
|
|
|
|
| 14 |
"""
|
| 15 |
# 🌍 Map Diffuser
|
| 16 |
|
| 17 |
+
|
| 18 |
+
### Generates images from a given text prompt. The prompts are in the format:
|
| 19 |
+
|
| 20 |
+
- `{style} map of {city} with {features}` or
|
| 21 |
+
- `satellite image of {city} with {features}` or
|
| 22 |
+
- `satellite image with {features}` or
|
| 23 |
+
- `satellite image of {city} with {features} and no {features}`
|
| 24 |
and so on...
|
| 25 |
|
| 26 |
+
### So for example:
|
| 27 |
+
|
| 28 |
- "Satellite image of amsterdam with industrial area and highways"
|
| 29 |
- "Watercolor style map of Amsterdam with residential area and highways"
|
| 30 |
- "Toner style map of Amsterdam with residential area and highways"
|
| 31 |
- "Satellite image with forests and residential, no water"
|
| 32 |
|
| 33 |
+
|
| 34 |
+
|
| 35 |
Examples table:
|
| 36 |
+
|
| 37 |
| Prompt | Output |
|
| 38 |
| --- | --- |
|
| 39 |
+
| Satellite image of industrial area with ships | <img src="https://www.evernote.com/shard/s542/sh/61ee9b28-14a4-471b-89c1-beceeaa5c3b7/U6r8RasxpAtG4lffwKc7VdZn67b8O5w85zyFcKGH6yObMrD2ArITfJV77A/deep/0/image.png" width="100" /> |
|
| 40 |
+
| Watercolor style map of Amsterdam with residential area and highways | <img src="https://www.evernote.com/shard/s542/sh/a22970f5-552f-4872-b738-667e64b28be4/ecjvm3GJBekvShqyebx8RQYH1ZTP4WrZzSqhB5lt6kv5jUjgKH0l7b57KA/deep/0/image.png" width="100" /> |
|
| 41 |
+
| Toner style map of Amsterdam with residential area and highways | <img src="https://www.evernote.com/shard/s542/sh/1dfce0dc-8d63-4a83-b590-979ad038198f/1N9mAOsR0GddsULJaAMB8dYU9eR1-McyUXtgOmVFQ4UbX0rwbNfkylI1iQ/deep/0/image.png" width="100" /> |
|
| 42 |
+
| Satellite image with forests and residential, no water | <img src="https://www.evernote.com/shard/s542/sh/2c532cf5-e73b-410e-8433-439466211306/Fh8SsltsWRCW_bLGmrj_TfV2vfEwTUbDiUz_bMSn__0EuzmhdTK5F-C1og/deep/0/image.png" width="300" /> |
|
| 43 |
"""
|
| 44 |
)
|
| 45 |
input = gr.components.Textbox(label="Enter a text prompt here")
|
images/vrGpk45.png
ADDED
|