Update app.py
Browse files
app.py
CHANGED
|
@@ -6,76 +6,76 @@ app = Flask(__name__)
|
|
| 6 |
fake_db = {
|
| 7 |
"accounts": [],
|
| 8 |
"generate_lists": {
|
| 9 |
-
"items":
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
|
| 21 |
-
|
| 22 |
-
|
| 23 |
-
|
| 24 |
-
|
| 25 |
-
|
| 26 |
-
|
| 27 |
-
|
| 28 |
-
|
| 29 |
-
|
| 30 |
-
|
| 31 |
-
|
| 32 |
-
|
| 33 |
-
|
| 34 |
-
|
| 35 |
-
|
| 36 |
-
|
| 37 |
-
|
| 38 |
-
|
| 39 |
-
|
| 40 |
-
|
| 41 |
-
|
| 42 |
-
|
| 43 |
-
|
| 44 |
-
|
| 45 |
-
|
| 46 |
-
|
| 47 |
-
|
| 48 |
-
|
| 49 |
-
|
| 50 |
-
|
| 51 |
-
|
| 52 |
-
|
| 53 |
-
|
| 54 |
-
|
| 55 |
-
|
| 56 |
-
|
| 57 |
-
|
| 58 |
-
|
| 59 |
-
|
| 60 |
-
|
| 61 |
-
|
| 62 |
-
|
| 63 |
-
|
| 64 |
-
|
| 65 |
-
|
| 66 |
-
|
| 67 |
-
|
| 68 |
-
|
| 69 |
-
|
| 70 |
-
|
| 71 |
-
|
| 72 |
-
|
| 73 |
-
|
| 74 |
-
|
| 75 |
-
|
| 76 |
-
|
| 77 |
-
|
| 78 |
-
|
| 79 |
}
|
| 80 |
}
|
| 81 |
|
|
|
|
| 6 |
fake_db = {
|
| 7 |
"accounts": [],
|
| 8 |
"generate_lists": {
|
| 9 |
+
"items": [
|
| 10 |
+
{
|
| 11 |
+
"title": "3D Anime Generate",
|
| 12 |
+
"content": [
|
| 13 |
+
{
|
| 14 |
+
"credit": 100,
|
| 15 |
+
"id": "1",
|
| 16 |
+
"imageUrl": "https://example.com/image1.jpg",
|
| 17 |
+
"name": "REALISTIC"
|
| 18 |
+
},
|
| 19 |
+
{
|
| 20 |
+
"credit": 80,
|
| 21 |
+
"id": "2",
|
| 22 |
+
"imageUrl": "https://example.com/image2.jpg",
|
| 23 |
+
"name": "DRAWING"
|
| 24 |
+
}
|
| 25 |
+
]
|
| 26 |
+
},
|
| 27 |
+
{
|
| 28 |
+
"title": "REALISTIC Generate",
|
| 29 |
+
"content": [
|
| 30 |
+
{
|
| 31 |
+
"credit": 100,
|
| 32 |
+
"id": "6",
|
| 33 |
+
"imageUrl": "https://example.com/image6.jpg",
|
| 34 |
+
"name": "REALISTIC"
|
| 35 |
+
},
|
| 36 |
+
{
|
| 37 |
+
"credit": 80,
|
| 38 |
+
"id": "7",
|
| 39 |
+
"imageUrl": "https://example.com/image7.jpg",
|
| 40 |
+
"name": "DRAWING"
|
| 41 |
+
}
|
| 42 |
+
]
|
| 43 |
+
},
|
| 44 |
+
{
|
| 45 |
+
"title": "DRAWING Generate",
|
| 46 |
+
"content": [
|
| 47 |
+
{
|
| 48 |
+
"credit": 60,
|
| 49 |
+
"id": "11",
|
| 50 |
+
"imageUrl": "https://example.com/image11.jpg",
|
| 51 |
+
"name": "SKETCH"
|
| 52 |
+
},
|
| 53 |
+
{
|
| 54 |
+
"credit": 90,
|
| 55 |
+
"id": "12",
|
| 56 |
+
"imageUrl": "https://example.com/image12.jpg",
|
| 57 |
+
"name": "PAINTING"
|
| 58 |
+
}
|
| 59 |
+
]
|
| 60 |
+
},
|
| 61 |
+
{
|
| 62 |
+
"title": "ANIMATION Generate",
|
| 63 |
+
"content": [
|
| 64 |
+
{
|
| 65 |
+
"credit": 120,
|
| 66 |
+
"id": "16",
|
| 67 |
+
"imageUrl": "https://example.com/image16.jpg",
|
| 68 |
+
"name": "3D"
|
| 69 |
+
},
|
| 70 |
+
{
|
| 71 |
+
"credit": 90,
|
| 72 |
+
"id": "17",
|
| 73 |
+
"imageUrl": "https://example.com/image17.jpg",
|
| 74 |
+
"name": "2D"
|
| 75 |
+
}
|
| 76 |
+
]
|
| 77 |
+
}
|
| 78 |
+
]
|
| 79 |
}
|
| 80 |
}
|
| 81 |
|