Aspiring Astro commited on
Commit
70a1bb4
1 Parent(s): b343d52

add hidden examples

Browse files
Files changed (4) hide show
  1. app.ipynb +2 -39
  2. app.py +1 -1
  3. hidden.png +0 -0
  4. hidden2.png +0 -0
app.ipynb CHANGED
@@ -478,43 +478,6 @@
478
  "metadata": {},
479
  "output_type": "display_data"
480
  },
481
- {
482
- "data": {
483
- "text/html": [],
484
- "text/plain": [
485
- "<IPython.core.display.HTML object>"
486
- ]
487
- },
488
- "metadata": {},
489
- "output_type": "display_data"
490
- },
491
- {
492
- "data": {
493
- "text/html": [
494
- "\n",
495
- "<style>\n",
496
- " /* Turns off some styling */\n",
497
- " progress {\n",
498
- " /* gets rid of default border in Firefox and Opera. */\n",
499
- " border: none;\n",
500
- " /* Needs to be in here for Safari polyfill so background images work as expected. */\n",
501
- " background-size: auto;\n",
502
- " }\n",
503
- " progress:not([value]), progress:not([value])::-webkit-progress-bar {\n",
504
- " background: repeating-linear-gradient(45deg, #7e7e7e, #7e7e7e 10px, #5c5c5c 10px, #5c5c5c 20px);\n",
505
- " }\n",
506
- " .progress-bar-interrupted, .progress-bar-interrupted::-webkit-progress-bar {\n",
507
- " background: #F44336;\n",
508
- " }\n",
509
- "</style>\n"
510
- ],
511
- "text/plain": [
512
- "<IPython.core.display.HTML object>"
513
- ]
514
- },
515
- "metadata": {},
516
- "output_type": "display_data"
517
- },
518
  {
519
  "data": {
520
  "text/html": [],
@@ -528,7 +491,7 @@
528
  ],
529
  "source": [
530
  "#| export\n",
531
- "example_images = [ 'cheetah.jpg', 'jaguar.jpg', 'tiger.jpg', 'cougar.jpg', 'lion.jpg', 'african leopard.jpg', 'clouded leopard.jpg', 'snow leopard.jpg' ]\n",
532
  "\n",
533
  "demo = gr.Blocks()\n",
534
  "with demo:\n",
@@ -552,7 +515,7 @@
552
  },
553
  {
554
  "cell_type": "code",
555
- "execution_count": 20,
556
  "id": "cab071f9-7c3b-4b35-a0d1-3687731ffce5",
557
  "metadata": {},
558
  "outputs": [
 
478
  "metadata": {},
479
  "output_type": "display_data"
480
  },
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
481
  {
482
  "data": {
483
  "text/html": [],
 
491
  ],
492
  "source": [
493
  "#| export\n",
494
+ "example_images = [ 'cheetah.jpg', 'jaguar.jpg', 'tiger.jpg', 'cougar.jpg', 'lion.jpg', 'african leopard.jpg', 'clouded leopard.jpg', 'snow leopard.jpg', 'hidden.png', 'hidden2.png' ]\n",
495
  "\n",
496
  "demo = gr.Blocks()\n",
497
  "with demo:\n",
 
515
  },
516
  {
517
  "cell_type": "code",
518
+ "execution_count": 22,
519
  "id": "cab071f9-7c3b-4b35-a0d1-3687731ffce5",
520
  "metadata": {},
521
  "outputs": [
app.py CHANGED
@@ -40,7 +40,7 @@ def select_model(model_name):
40
 
41
 
42
  # %% app.ipynb 5
43
- example_images = [ 'cheetah.jpg', 'jaguar.jpg', 'tiger.jpg', 'cougar.jpg', 'lion.jpg', 'african leopard.jpg', 'clouded leopard.jpg', 'snow leopard.jpg' ]
44
 
45
  demo = gr.Blocks()
46
  with demo:
 
40
 
41
 
42
  # %% app.ipynb 5
43
+ example_images = [ 'cheetah.jpg', 'jaguar.jpg', 'tiger.jpg', 'cougar.jpg', 'lion.jpg', 'african leopard.jpg', 'clouded leopard.jpg', 'snow leopard.jpg', 'hidden.png', 'hidden2.png' ]
44
 
45
  demo = gr.Blocks()
46
  with demo:
hidden.png ADDED
hidden2.png ADDED