|
| 1 | +interactions: |
| 2 | +- request: |
| 3 | + body: '{"name": "tmp_test_space", "organization": "user", |
| 4 | + "private": true, "type": "space", "sdk": "gradio"}' |
| 5 | + headers: |
| 6 | + Accept: |
| 7 | + - '*/*' |
| 8 | + Accept-Encoding: |
| 9 | + - gzip, deflate |
| 10 | + Connection: |
| 11 | + - keep-alive |
| 12 | + Content-Length: |
| 13 | + - '126' |
| 14 | + Content-Type: |
| 15 | + - application/json |
| 16 | + X-Amzn-Trace-Id: |
| 17 | + - b9f6dc11-3021-4a3b-9656-7e1fe8db22a5 |
| 18 | + authorization: |
| 19 | + - Bearer hf_fake_token |
| 20 | + user-agent: |
| 21 | + - unknown/None; hf_hub/0.21.0.dev0; python/3.10.12; torch/1.12.1; tensorflow/2.11.0; |
| 22 | + fastcore/1.5.23 |
| 23 | + method: POST |
| 24 | + uri: https://huggingface.co/api/repos/create |
| 25 | + response: |
| 26 | + body: |
| 27 | + string: '{"url":"https://huggingface.co/spaces/user/tmp_test_space","name":"user/tmp_test_space"}' |
| 28 | + headers: |
| 29 | + Access-Control-Allow-Origin: |
| 30 | + - https://huggingface.co |
| 31 | + Access-Control-Expose-Headers: |
| 32 | + - X-Repo-Commit,X-Request-Id,X-Error-Code,X-Error-Message,ETag,Link,Accept-Ranges,Content-Range |
| 33 | + Connection: |
| 34 | + - keep-alive |
| 35 | + Content-Length: |
| 36 | + - '138' |
| 37 | + Content-Type: |
| 38 | + - application/json; charset=utf-8 |
| 39 | + Date: |
| 40 | + - Thu, 21 Dec 2023 15:48:25 GMT |
| 41 | + ETag: |
| 42 | + - W/"8a-VViltcPMYxf/HQ1ZzLQ3ALxA9NQ" |
| 43 | + Vary: |
| 44 | + - Origin |
| 45 | + Via: |
| 46 | + - 1.1 12462511bf75e25d997040c6b0156390.cloudfront.net (CloudFront) |
| 47 | + X-Amz-Cf-Id: |
| 48 | + - XCLyREqfkctChMi5tt7_KAUqB2-LVZL6RGFZee2GV-ibgppNsk2btg== |
| 49 | + X-Amz-Cf-Pop: |
| 50 | + - MRS52-P4 |
| 51 | + X-Cache: |
| 52 | + - Miss from cloudfront |
| 53 | + X-Powered-By: |
| 54 | + - huggingface-moon |
| 55 | + X-Request-Id: |
| 56 | + - Root=1-65845e48-5d44a2300f982a3a64cc147a;b9f6dc11-3021-4a3b-9656-7e1fe8db22a5 |
| 57 | + status: |
| 58 | + code: 200 |
| 59 | + message: OK |
| 60 | +- request: |
| 61 | + body: '{"files": [{"path": "app.py", "sample": "CmltcG9ydCBncmFkaW8gYXMgZ3IKCgpkZWYgZ3JlZXQobmFtZSk6CiAgICByZXR1cm4gIkhlbGxvICIgKyBuYW1lICsgIiEhIgoKaWZhY2UgPSBnci5JbnRlcmZhY2UoZm49Z3JlZXQsIGlucHV0cz0idGV4dCIsIG91dHB1dHM9InRleHQiKQppZmFjZS5sYXVuY2goKQo=", |
| 62 | + "size": 152, "sha": "cf0d1d937f3c0dbe0d626e10da89ddd32c89c13cbbec8e5a665bb13c8abf19d4"}]}' |
| 63 | + headers: |
| 64 | + Accept: |
| 65 | + - '*/*' |
| 66 | + Accept-Encoding: |
| 67 | + - gzip, deflate |
| 68 | + Connection: |
| 69 | + - keep-alive |
| 70 | + Content-Length: |
| 71 | + - '337' |
| 72 | + Content-Type: |
| 73 | + - application/json |
| 74 | + X-Amzn-Trace-Id: |
| 75 | + - 62521671-ac25-46ca-a453-f28ab57dd0b7 |
| 76 | + authorization: |
| 77 | + - Bearer hf_fake_token |
| 78 | + user-agent: |
| 79 | + - unknown/None; hf_hub/0.21.0.dev0; python/3.10.12; torch/1.12.1; tensorflow/2.11.0; |
| 80 | + fastcore/1.5.23 |
| 81 | + method: POST |
| 82 | + uri: https://huggingface.co/api/spaces/user/tmp_test_space/preupload/main |
| 83 | + response: |
| 84 | + body: |
| 85 | + string: '{"files":[{"path":"app.py","uploadMode":"regular","shouldIgnore":false}]}' |
| 86 | + headers: |
| 87 | + Access-Control-Allow-Origin: |
| 88 | + - https://huggingface.co |
| 89 | + Access-Control-Expose-Headers: |
| 90 | + - X-Repo-Commit,X-Request-Id,X-Error-Code,X-Error-Message,ETag,Link,Accept-Ranges,Content-Range |
| 91 | + Connection: |
| 92 | + - keep-alive |
| 93 | + Content-Length: |
| 94 | + - '73' |
| 95 | + Content-Type: |
| 96 | + - application/json; charset=utf-8 |
| 97 | + Date: |
| 98 | + - Thu, 21 Dec 2023 15:48:25 GMT |
| 99 | + ETag: |
| 100 | + - W/"49-nCeVdVg3Vd8tCoIYVmhKsYvl0Vs" |
| 101 | + Vary: |
| 102 | + - Origin |
| 103 | + Via: |
| 104 | + - 1.1 12462511bf75e25d997040c6b0156390.cloudfront.net (CloudFront) |
| 105 | + X-Amz-Cf-Id: |
| 106 | + - 4qCRcqViywkR9HsiUza6qa3n409VOEqhrSzoTa-Vp7q9SRy1IbKKRA== |
| 107 | + X-Amz-Cf-Pop: |
| 108 | + - MRS52-P4 |
| 109 | + X-Cache: |
| 110 | + - Miss from cloudfront |
| 111 | + X-Powered-By: |
| 112 | + - huggingface-moon |
| 113 | + X-Request-Id: |
| 114 | + - Root=1-65845e49-18cabb494fc3868a7ecbba0a;62521671-ac25-46ca-a453-f28ab57dd0b7 |
| 115 | + status: |
| 116 | + code: 200 |
| 117 | + message: OK |
| 118 | +- request: |
| 119 | + body: '{"key": "header", "value": {"summary": "Upload app.py with huggingface_hub", |
| 120 | + "description": ""}} |
| 121 | +
|
| 122 | + {"key": "file", "value": {"content": "CmltcG9ydCBncmFkaW8gYXMgZ3IKCgpkZWYgZ3JlZXQobmFtZSk6CiAgICByZXR1cm4gIkhlbGxvICIgKyBuYW1lICsgIiEhIgoKaWZhY2UgPSBnci5JbnRlcmZhY2UoZm49Z3JlZXQsIGlucHV0cz0idGV4dCIsIG91dHB1dHM9InRleHQiKQppZmFjZS5sYXVuY2goKQo=", |
| 123 | + "path": "app.py", "encoding": "base64"}} |
| 124 | +
|
| 125 | + ' |
| 126 | + headers: |
| 127 | + Accept: |
| 128 | + - '*/*' |
| 129 | + Accept-Encoding: |
| 130 | + - gzip, deflate |
| 131 | + Connection: |
| 132 | + - keep-alive |
| 133 | + Content-Length: |
| 134 | + - '383' |
| 135 | + Content-Type: |
| 136 | + - application/x-ndjson |
| 137 | + X-Amzn-Trace-Id: |
| 138 | + - 176b59ef-c65c-49e6-8f17-485d6c3c5f5d |
| 139 | + authorization: |
| 140 | + - Bearer hf_fake_token |
| 141 | + user-agent: |
| 142 | + - unknown/None; hf_hub/0.21.0.dev0; python/3.10.12; torch/1.12.1; tensorflow/2.11.0; |
| 143 | + fastcore/1.5.23 |
| 144 | + method: POST |
| 145 | + uri: https://huggingface.co/api/spaces/user/tmp_test_space/commit/main |
| 146 | + response: |
| 147 | + body: |
| 148 | + string: '{"success":true,"commitOid":"b85ff0939b7b063079febb7718a33b196a093640","commitUrl":"https://huggingface.co/spaces/user/tmp_test_space/commit/b85ff0939b7b063079febb7718a33b196a093640","hookOutput":""}' |
| 149 | + headers: |
| 150 | + Access-Control-Allow-Origin: |
| 151 | + - https://huggingface.co |
| 152 | + Access-Control-Expose-Headers: |
| 153 | + - X-Repo-Commit,X-Request-Id,X-Error-Code,X-Error-Message,ETag,Link,Accept-Ranges,Content-Range |
| 154 | + Connection: |
| 155 | + - keep-alive |
| 156 | + Content-Length: |
| 157 | + - '224' |
| 158 | + Content-Type: |
| 159 | + - application/json; charset=utf-8 |
| 160 | + Date: |
| 161 | + - Thu, 21 Dec 2023 15:48:25 GMT |
| 162 | + ETag: |
| 163 | + - W/"e0-tCspvOpu7Kpet4dJF3/VUMp0yJo" |
| 164 | + Vary: |
| 165 | + - Origin |
| 166 | + Via: |
| 167 | + - 1.1 12462511bf75e25d997040c6b0156390.cloudfront.net (CloudFront) |
| 168 | + X-Amz-Cf-Id: |
| 169 | + - s46f7yN6Wg3LpQt-BtELoQvAsK4s2CyHGfqvp5gyJ79qZax3K5JAdA== |
| 170 | + X-Amz-Cf-Pop: |
| 171 | + - MRS52-P4 |
| 172 | + X-Cache: |
| 173 | + - Miss from cloudfront |
| 174 | + X-Powered-By: |
| 175 | + - huggingface-moon |
| 176 | + X-Request-Id: |
| 177 | + - Root=1-65845e49-7357e41a03cb529504a77478;176b59ef-c65c-49e6-8f17-485d6c3c5f5d |
| 178 | + status: |
| 179 | + code: 200 |
| 180 | + message: OK |
| 181 | +- request: |
| 182 | + body: null |
| 183 | + headers: |
| 184 | + Accept: |
| 185 | + - '*/*' |
| 186 | + Accept-Encoding: |
| 187 | + - gzip, deflate |
| 188 | + Connection: |
| 189 | + - keep-alive |
| 190 | + X-Amzn-Trace-Id: |
| 191 | + - 98fe3aa8-af57-4a84-bfe1-242ae8fa777a |
| 192 | + authorization: |
| 193 | + - Bearer hf_fake_token |
| 194 | + user-agent: |
| 195 | + - unknown/None; hf_hub/0.21.0.dev0; python/3.10.12; torch/1.12.1; tensorflow/2.11.0; |
| 196 | + fastcore/1.5.23 |
| 197 | + method: GET |
| 198 | + uri: https://huggingface.co/api/spaces/user/tmp_test_space/runtime |
| 199 | + response: |
| 200 | + body: |
| 201 | + string: '{"stage":"NO_APP_FILE","hardware":{"current":null,"requested":"cpu-basic"},"storage":null,"gcTimeout":172800,"replicas":{"current":1,"requested":1}}' |
| 202 | + headers: |
| 203 | + Access-Control-Allow-Origin: |
| 204 | + - https://huggingface.co |
| 205 | + Access-Control-Expose-Headers: |
| 206 | + - X-Repo-Commit,X-Request-Id,X-Error-Code,X-Error-Message,ETag,Link,Accept-Ranges,Content-Range |
| 207 | + Connection: |
| 208 | + - keep-alive |
| 209 | + Content-Length: |
| 210 | + - '148' |
| 211 | + Content-Type: |
| 212 | + - application/json; charset=utf-8 |
| 213 | + Date: |
| 214 | + - Thu, 21 Dec 2023 15:48:25 GMT |
| 215 | + ETag: |
| 216 | + - W/"94-92DORcTD91w77YbtjBk7RAgry5I" |
| 217 | + Vary: |
| 218 | + - Origin |
| 219 | + Via: |
| 220 | + - 1.1 12462511bf75e25d997040c6b0156390.cloudfront.net (CloudFront) |
| 221 | + X-Amz-Cf-Id: |
| 222 | + - 2Z0ZunWAb_tIqURyQSuF5GzPJbC-yG1GyoRqRNBCabzsiZ3hos4c6g== |
| 223 | + X-Amz-Cf-Pop: |
| 224 | + - MRS52-P4 |
| 225 | + X-Cache: |
| 226 | + - Miss from cloudfront |
| 227 | + X-Powered-By: |
| 228 | + - huggingface-moon |
| 229 | + X-Request-Id: |
| 230 | + - Root=1-65845e49-61de2f940c7f3c29471409d5;98fe3aa8-af57-4a84-bfe1-242ae8fa777a |
| 231 | + status: |
| 232 | + code: 200 |
| 233 | + message: OK |
| 234 | +- request: |
| 235 | + body: '{"name": "tmp_test_space", "organization": "user", |
| 236 | + "type": "space"}' |
| 237 | + headers: |
| 238 | + Accept: |
| 239 | + - '*/*' |
| 240 | + Accept-Encoding: |
| 241 | + - gzip, deflate |
| 242 | + Connection: |
| 243 | + - keep-alive |
| 244 | + Content-Length: |
| 245 | + - '92' |
| 246 | + Content-Type: |
| 247 | + - application/json |
| 248 | + X-Amzn-Trace-Id: |
| 249 | + - 15a04646-60a2-42df-a3ff-3e17990903d2 |
| 250 | + authorization: |
| 251 | + - Bearer hf_fake_token |
| 252 | + user-agent: |
| 253 | + - unknown/None; hf_hub/0.21.0.dev0; python/3.10.12; torch/1.12.1; tensorflow/2.11.0; |
| 254 | + fastcore/1.5.23 |
| 255 | + method: DELETE |
| 256 | + uri: https://huggingface.co/api/repos/delete |
| 257 | + response: |
| 258 | + body: |
| 259 | + string: OK |
| 260 | + headers: |
| 261 | + Access-Control-Allow-Origin: |
| 262 | + - https://huggingface.co |
| 263 | + Access-Control-Expose-Headers: |
| 264 | + - X-Repo-Commit,X-Request-Id,X-Error-Code,X-Error-Message,ETag,Link,Accept-Ranges,Content-Range |
| 265 | + Connection: |
| 266 | + - keep-alive |
| 267 | + Content-Length: |
| 268 | + - '2' |
| 269 | + Content-Type: |
| 270 | + - text/plain; charset=utf-8 |
| 271 | + Date: |
| 272 | + - Thu, 21 Dec 2023 15:48:26 GMT |
| 273 | + ETag: |
| 274 | + - W/"2-nOO9QiTIwXgNtWtBJezz8kv3SLc" |
| 275 | + Vary: |
| 276 | + - Origin |
| 277 | + Via: |
| 278 | + - 1.1 12462511bf75e25d997040c6b0156390.cloudfront.net (CloudFront) |
| 279 | + X-Amz-Cf-Id: |
| 280 | + - 6vZojaY85KCqmK1ANwPkPgcVjo_1c8xc2qQQo5qQYgME_f3c3Xt9uw== |
| 281 | + X-Amz-Cf-Pop: |
| 282 | + - MRS52-P4 |
| 283 | + X-Cache: |
| 284 | + - Miss from cloudfront |
| 285 | + X-Powered-By: |
| 286 | + - huggingface-moon |
| 287 | + X-Request-Id: |
| 288 | + - Root=1-65845e4a-7e064f31264770a26808abc3;15a04646-60a2-42df-a3ff-3e17990903d2 |
| 289 | + status: |
| 290 | + code: 200 |
| 291 | + message: OK |
| 292 | +version: 1 |
0 commit comments