Spaces:
Sleeping
Sleeping
neznib
commited on
Commit
·
2b380d2
1
Parent(s):
79f17a2
add initial project files and configuration
Browse files- playground_api.ipynb +15 -16
playground_api.ipynb
CHANGED
|
@@ -6,24 +6,22 @@
|
|
| 6 |
"metadata": {
|
| 7 |
"collapsed": true,
|
| 8 |
"ExecuteTime": {
|
| 9 |
-
"end_time": "2025-04-
|
| 10 |
-
"start_time": "2025-04-
|
| 11 |
}
|
| 12 |
},
|
| 13 |
"source": [
|
| 14 |
"import pandas as pd\n",
|
| 15 |
-
"import requests\n"
|
| 16 |
-
"\n",
|
| 17 |
-
"from app_playground import response"
|
| 18 |
],
|
| 19 |
"outputs": [],
|
| 20 |
-
"execution_count":
|
| 21 |
},
|
| 22 |
{
|
| 23 |
"metadata": {
|
| 24 |
"ExecuteTime": {
|
| 25 |
-
"end_time": "2025-04-
|
| 26 |
-
"start_time": "2025-04-
|
| 27 |
}
|
| 28 |
},
|
| 29 |
"cell_type": "code",
|
|
@@ -37,7 +35,7 @@
|
|
| 37 |
],
|
| 38 |
"id": "bdd1221c22a2e327",
|
| 39 |
"outputs": [],
|
| 40 |
-
"execution_count":
|
| 41 |
},
|
| 42 |
{
|
| 43 |
"metadata": {
|
|
@@ -228,13 +226,14 @@
|
|
| 228 |
{
|
| 229 |
"metadata": {
|
| 230 |
"ExecuteTime": {
|
| 231 |
-
"end_time": "2025-04-
|
| 232 |
-
"start_time": "2025-04-
|
| 233 |
}
|
| 234 |
},
|
| 235 |
"cell_type": "code",
|
| 236 |
"source": [
|
| 237 |
"import pandas as pd\n",
|
|
|
|
| 238 |
"# read the data from the json file\n",
|
| 239 |
"with open('data.json', 'r') as json_file:\n",
|
| 240 |
" data = json.load(json_file)\n",
|
|
@@ -243,13 +242,13 @@
|
|
| 243 |
],
|
| 244 |
"id": "799bcaab50ebff55",
|
| 245 |
"outputs": [],
|
| 246 |
-
"execution_count":
|
| 247 |
},
|
| 248 |
{
|
| 249 |
"metadata": {
|
| 250 |
"ExecuteTime": {
|
| 251 |
-
"end_time": "2025-04-
|
| 252 |
-
"start_time": "2025-04-
|
| 253 |
}
|
| 254 |
},
|
| 255 |
"cell_type": "code",
|
|
@@ -496,12 +495,12 @@
|
|
| 496 |
"</div>"
|
| 497 |
]
|
| 498 |
},
|
| 499 |
-
"execution_count":
|
| 500 |
"metadata": {},
|
| 501 |
"output_type": "execute_result"
|
| 502 |
}
|
| 503 |
],
|
| 504 |
-
"execution_count":
|
| 505 |
},
|
| 506 |
{
|
| 507 |
"metadata": {
|
|
|
|
| 6 |
"metadata": {
|
| 7 |
"collapsed": true,
|
| 8 |
"ExecuteTime": {
|
| 9 |
+
"end_time": "2025-04-28T20:04:18.674274Z",
|
| 10 |
+
"start_time": "2025-04-28T20:04:18.642786Z"
|
| 11 |
}
|
| 12 |
},
|
| 13 |
"source": [
|
| 14 |
"import pandas as pd\n",
|
| 15 |
+
"import requests\n"
|
|
|
|
|
|
|
| 16 |
],
|
| 17 |
"outputs": [],
|
| 18 |
+
"execution_count": 3
|
| 19 |
},
|
| 20 |
{
|
| 21 |
"metadata": {
|
| 22 |
"ExecuteTime": {
|
| 23 |
+
"end_time": "2025-04-28T20:04:28.062730Z",
|
| 24 |
+
"start_time": "2025-04-28T20:04:27.380122Z"
|
| 25 |
}
|
| 26 |
},
|
| 27 |
"cell_type": "code",
|
|
|
|
| 35 |
],
|
| 36 |
"id": "bdd1221c22a2e327",
|
| 37 |
"outputs": [],
|
| 38 |
+
"execution_count": 4
|
| 39 |
},
|
| 40 |
{
|
| 41 |
"metadata": {
|
|
|
|
| 226 |
{
|
| 227 |
"metadata": {
|
| 228 |
"ExecuteTime": {
|
| 229 |
+
"end_time": "2025-04-28T20:05:01.953493Z",
|
| 230 |
+
"start_time": "2025-04-28T20:05:01.925950Z"
|
| 231 |
}
|
| 232 |
},
|
| 233 |
"cell_type": "code",
|
| 234 |
"source": [
|
| 235 |
"import pandas as pd\n",
|
| 236 |
+
"import json\n",
|
| 237 |
"# read the data from the json file\n",
|
| 238 |
"with open('data.json', 'r') as json_file:\n",
|
| 239 |
" data = json.load(json_file)\n",
|
|
|
|
| 242 |
],
|
| 243 |
"id": "799bcaab50ebff55",
|
| 244 |
"outputs": [],
|
| 245 |
+
"execution_count": 6
|
| 246 |
},
|
| 247 |
{
|
| 248 |
"metadata": {
|
| 249 |
"ExecuteTime": {
|
| 250 |
+
"end_time": "2025-04-28T20:05:04.665088Z",
|
| 251 |
+
"start_time": "2025-04-28T20:05:04.654871Z"
|
| 252 |
}
|
| 253 |
},
|
| 254 |
"cell_type": "code",
|
|
|
|
| 495 |
"</div>"
|
| 496 |
]
|
| 497 |
},
|
| 498 |
+
"execution_count": 7,
|
| 499 |
"metadata": {},
|
| 500 |
"output_type": "execute_result"
|
| 501 |
}
|
| 502 |
],
|
| 503 |
+
"execution_count": 7
|
| 504 |
},
|
| 505 |
{
|
| 506 |
"metadata": {
|