Spaces:
Runtime error
Runtime error
Aryan Kumar commited on
Commit ·
7f37819
1
Parent(s): 625fbd2
modified: app.ipynb
Browse filesmodified: app.py
modified: requirements.txt
app.ipynb
CHANGED
|
@@ -260,7 +260,7 @@
|
|
| 260 |
},
|
| 261 |
{
|
| 262 |
"cell_type": "code",
|
| 263 |
-
"execution_count":
|
| 264 |
"id": "2f0f85be",
|
| 265 |
"metadata": {},
|
| 266 |
"outputs": [
|
|
@@ -282,7 +282,7 @@
|
|
| 282 |
"name": "stdout",
|
| 283 |
"output_type": "stream",
|
| 284 |
"text": [
|
| 285 |
-
"Running on local URL: http://127.0.0.1:
|
| 286 |
"\n",
|
| 287 |
"To create a public link, set `share=True` in `launch()`.\n"
|
| 288 |
]
|
|
@@ -291,189 +291,9 @@
|
|
| 291 |
"data": {
|
| 292 |
"text/plain": []
|
| 293 |
},
|
| 294 |
-
"execution_count":
|
| 295 |
"metadata": {},
|
| 296 |
"output_type": "execute_result"
|
| 297 |
-
},
|
| 298 |
-
{
|
| 299 |
-
"name": "stderr",
|
| 300 |
-
"output_type": "stream",
|
| 301 |
-
"text": [
|
| 302 |
-
"C:\\Users\\teent\\anaconda3\\Lib\\site-packages\\fastai\\torch_core.py:263: UserWarning: 'has_mps' is deprecated, please use 'torch.backends.mps.is_built()'\n",
|
| 303 |
-
" return getattr(torch, 'has_mps', False)\n"
|
| 304 |
-
]
|
| 305 |
-
},
|
| 306 |
-
{
|
| 307 |
-
"data": {
|
| 308 |
-
"text/html": [
|
| 309 |
-
"\n",
|
| 310 |
-
"<style>\n",
|
| 311 |
-
" /* Turns off some styling */\n",
|
| 312 |
-
" progress {\n",
|
| 313 |
-
" /* gets rid of default border in Firefox and Opera. */\n",
|
| 314 |
-
" border: none;\n",
|
| 315 |
-
" /* Needs to be in here for Safari polyfill so background images work as expected. */\n",
|
| 316 |
-
" background-size: auto;\n",
|
| 317 |
-
" }\n",
|
| 318 |
-
" progress:not([value]), progress:not([value])::-webkit-progress-bar {\n",
|
| 319 |
-
" background: repeating-linear-gradient(45deg, #7e7e7e, #7e7e7e 10px, #5c5c5c 10px, #5c5c5c 20px);\n",
|
| 320 |
-
" }\n",
|
| 321 |
-
" .progress-bar-interrupted, .progress-bar-interrupted::-webkit-progress-bar {\n",
|
| 322 |
-
" background: #F44336;\n",
|
| 323 |
-
" }\n",
|
| 324 |
-
"</style>\n"
|
| 325 |
-
],
|
| 326 |
-
"text/plain": [
|
| 327 |
-
"<IPython.core.display.HTML object>"
|
| 328 |
-
]
|
| 329 |
-
},
|
| 330 |
-
"metadata": {},
|
| 331 |
-
"output_type": "display_data"
|
| 332 |
-
},
|
| 333 |
-
{
|
| 334 |
-
"data": {
|
| 335 |
-
"text/html": [],
|
| 336 |
-
"text/plain": [
|
| 337 |
-
"<IPython.core.display.HTML object>"
|
| 338 |
-
]
|
| 339 |
-
},
|
| 340 |
-
"metadata": {},
|
| 341 |
-
"output_type": "display_data"
|
| 342 |
-
},
|
| 343 |
-
{
|
| 344 |
-
"name": "stderr",
|
| 345 |
-
"output_type": "stream",
|
| 346 |
-
"text": [
|
| 347 |
-
"C:\\Users\\teent\\anaconda3\\Lib\\site-packages\\fastai\\torch_core.py:263: UserWarning: 'has_mps' is deprecated, please use 'torch.backends.mps.is_built()'\n",
|
| 348 |
-
" return getattr(torch, 'has_mps', False)\n"
|
| 349 |
-
]
|
| 350 |
-
},
|
| 351 |
-
{
|
| 352 |
-
"data": {
|
| 353 |
-
"text/html": [
|
| 354 |
-
"\n",
|
| 355 |
-
"<style>\n",
|
| 356 |
-
" /* Turns off some styling */\n",
|
| 357 |
-
" progress {\n",
|
| 358 |
-
" /* gets rid of default border in Firefox and Opera. */\n",
|
| 359 |
-
" border: none;\n",
|
| 360 |
-
" /* Needs to be in here for Safari polyfill so background images work as expected. */\n",
|
| 361 |
-
" background-size: auto;\n",
|
| 362 |
-
" }\n",
|
| 363 |
-
" progress:not([value]), progress:not([value])::-webkit-progress-bar {\n",
|
| 364 |
-
" background: repeating-linear-gradient(45deg, #7e7e7e, #7e7e7e 10px, #5c5c5c 10px, #5c5c5c 20px);\n",
|
| 365 |
-
" }\n",
|
| 366 |
-
" .progress-bar-interrupted, .progress-bar-interrupted::-webkit-progress-bar {\n",
|
| 367 |
-
" background: #F44336;\n",
|
| 368 |
-
" }\n",
|
| 369 |
-
"</style>\n"
|
| 370 |
-
],
|
| 371 |
-
"text/plain": [
|
| 372 |
-
"<IPython.core.display.HTML object>"
|
| 373 |
-
]
|
| 374 |
-
},
|
| 375 |
-
"metadata": {},
|
| 376 |
-
"output_type": "display_data"
|
| 377 |
-
},
|
| 378 |
-
{
|
| 379 |
-
"data": {
|
| 380 |
-
"text/html": [],
|
| 381 |
-
"text/plain": [
|
| 382 |
-
"<IPython.core.display.HTML object>"
|
| 383 |
-
]
|
| 384 |
-
},
|
| 385 |
-
"metadata": {},
|
| 386 |
-
"output_type": "display_data"
|
| 387 |
-
},
|
| 388 |
-
{
|
| 389 |
-
"name": "stderr",
|
| 390 |
-
"output_type": "stream",
|
| 391 |
-
"text": [
|
| 392 |
-
"C:\\Users\\teent\\anaconda3\\Lib\\site-packages\\fastai\\torch_core.py:263: UserWarning: 'has_mps' is deprecated, please use 'torch.backends.mps.is_built()'\n",
|
| 393 |
-
" return getattr(torch, 'has_mps', False)\n"
|
| 394 |
-
]
|
| 395 |
-
},
|
| 396 |
-
{
|
| 397 |
-
"data": {
|
| 398 |
-
"text/html": [
|
| 399 |
-
"\n",
|
| 400 |
-
"<style>\n",
|
| 401 |
-
" /* Turns off some styling */\n",
|
| 402 |
-
" progress {\n",
|
| 403 |
-
" /* gets rid of default border in Firefox and Opera. */\n",
|
| 404 |
-
" border: none;\n",
|
| 405 |
-
" /* Needs to be in here for Safari polyfill so background images work as expected. */\n",
|
| 406 |
-
" background-size: auto;\n",
|
| 407 |
-
" }\n",
|
| 408 |
-
" progress:not([value]), progress:not([value])::-webkit-progress-bar {\n",
|
| 409 |
-
" background: repeating-linear-gradient(45deg, #7e7e7e, #7e7e7e 10px, #5c5c5c 10px, #5c5c5c 20px);\n",
|
| 410 |
-
" }\n",
|
| 411 |
-
" .progress-bar-interrupted, .progress-bar-interrupted::-webkit-progress-bar {\n",
|
| 412 |
-
" background: #F44336;\n",
|
| 413 |
-
" }\n",
|
| 414 |
-
"</style>\n"
|
| 415 |
-
],
|
| 416 |
-
"text/plain": [
|
| 417 |
-
"<IPython.core.display.HTML object>"
|
| 418 |
-
]
|
| 419 |
-
},
|
| 420 |
-
"metadata": {},
|
| 421 |
-
"output_type": "display_data"
|
| 422 |
-
},
|
| 423 |
-
{
|
| 424 |
-
"data": {
|
| 425 |
-
"text/html": [],
|
| 426 |
-
"text/plain": [
|
| 427 |
-
"<IPython.core.display.HTML object>"
|
| 428 |
-
]
|
| 429 |
-
},
|
| 430 |
-
"metadata": {},
|
| 431 |
-
"output_type": "display_data"
|
| 432 |
-
},
|
| 433 |
-
{
|
| 434 |
-
"name": "stderr",
|
| 435 |
-
"output_type": "stream",
|
| 436 |
-
"text": [
|
| 437 |
-
"C:\\Users\\teent\\anaconda3\\Lib\\site-packages\\fastai\\torch_core.py:263: UserWarning: 'has_mps' is deprecated, please use 'torch.backends.mps.is_built()'\n",
|
| 438 |
-
" return getattr(torch, 'has_mps', False)\n"
|
| 439 |
-
]
|
| 440 |
-
},
|
| 441 |
-
{
|
| 442 |
-
"data": {
|
| 443 |
-
"text/html": [
|
| 444 |
-
"\n",
|
| 445 |
-
"<style>\n",
|
| 446 |
-
" /* Turns off some styling */\n",
|
| 447 |
-
" progress {\n",
|
| 448 |
-
" /* gets rid of default border in Firefox and Opera. */\n",
|
| 449 |
-
" border: none;\n",
|
| 450 |
-
" /* Needs to be in here for Safari polyfill so background images work as expected. */\n",
|
| 451 |
-
" background-size: auto;\n",
|
| 452 |
-
" }\n",
|
| 453 |
-
" progress:not([value]), progress:not([value])::-webkit-progress-bar {\n",
|
| 454 |
-
" background: repeating-linear-gradient(45deg, #7e7e7e, #7e7e7e 10px, #5c5c5c 10px, #5c5c5c 20px);\n",
|
| 455 |
-
" }\n",
|
| 456 |
-
" .progress-bar-interrupted, .progress-bar-interrupted::-webkit-progress-bar {\n",
|
| 457 |
-
" background: #F44336;\n",
|
| 458 |
-
" }\n",
|
| 459 |
-
"</style>\n"
|
| 460 |
-
],
|
| 461 |
-
"text/plain": [
|
| 462 |
-
"<IPython.core.display.HTML object>"
|
| 463 |
-
]
|
| 464 |
-
},
|
| 465 |
-
"metadata": {},
|
| 466 |
-
"output_type": "display_data"
|
| 467 |
-
},
|
| 468 |
-
{
|
| 469 |
-
"data": {
|
| 470 |
-
"text/html": [],
|
| 471 |
-
"text/plain": [
|
| 472 |
-
"<IPython.core.display.HTML object>"
|
| 473 |
-
]
|
| 474 |
-
},
|
| 475 |
-
"metadata": {},
|
| 476 |
-
"output_type": "display_data"
|
| 477 |
}
|
| 478 |
],
|
| 479 |
"source": [
|
|
@@ -487,7 +307,7 @@
|
|
| 487 |
},
|
| 488 |
{
|
| 489 |
"cell_type": "code",
|
| 490 |
-
"execution_count":
|
| 491 |
"id": "dd63b5c0",
|
| 492 |
"metadata": {},
|
| 493 |
"outputs": [
|
|
|
|
| 260 |
},
|
| 261 |
{
|
| 262 |
"cell_type": "code",
|
| 263 |
+
"execution_count": 62,
|
| 264 |
"id": "2f0f85be",
|
| 265 |
"metadata": {},
|
| 266 |
"outputs": [
|
|
|
|
| 282 |
"name": "stdout",
|
| 283 |
"output_type": "stream",
|
| 284 |
"text": [
|
| 285 |
+
"Running on local URL: http://127.0.0.1:7863\n",
|
| 286 |
"\n",
|
| 287 |
"To create a public link, set `share=True` in `launch()`.\n"
|
| 288 |
]
|
|
|
|
| 291 |
"data": {
|
| 292 |
"text/plain": []
|
| 293 |
},
|
| 294 |
+
"execution_count": 62,
|
| 295 |
"metadata": {},
|
| 296 |
"output_type": "execute_result"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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