bobalbrecht commited on
Commit
363bdc5
β€’
1 Parent(s): 5514c9b
README.md CHANGED
@@ -1,5 +1,5 @@
1
  ---
2
- title: Catattack
3
  emoji: πŸš€
4
  colorFrom: indigo
5
  colorTo: green
1
  ---
2
+ title: Scratchpad
3
  emoji: πŸš€
4
  colorFrom: indigo
5
  colorTo: green
app.py CHANGED
@@ -10,6 +10,27 @@ __all__ = ['is_cat', 'learn', 'classify_image', 'categories', 'image', 'label',
10
 
11
  import gradio as gr
12
  from fastai.vision.all import *
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
13
 
14
 
15
  def is_cat(x): return x[0].isupper()
10
 
11
  import gradio as gr
12
  from fastai.vision.all import *
13
+ from pathlib import Path
14
+
15
+ model_path = Path('models')
16
+ image_path = Path('images')
17
+
18
+ cloud_categories = (
19
+ 'Cirrus',
20
+ 'Cirrostratus',
21
+ 'Cirrocumulus',
22
+ 'Altostratus',
23
+ 'Altocumulus',
24
+ 'Stratus',
25
+ 'Stratocumulus',
26
+ 'Nimbostratus',
27
+ 'Cumulus',
28
+ 'Cumulonimbus',
29
+ 'Lenticular'
30
+ )
31
+
32
+ cloud_examples = [image_path / f"{c}.jpg" for c in cloud_categories]
33
+ cloud_examples
34
 
35
 
36
  def is_cat(x): return x[0].isupper()
images/Altocumulus.jpg ADDED

Git LFS Details

  • SHA256: fb8609c44b552632a2831b1aa9eb835f8f7d8371f3275b620aa75f04fb3fa397
  • Pointer size: 131 Bytes
  • Size of remote file: 128 kB
images/Altostratus.jpg ADDED

Git LFS Details

  • SHA256: 60f01099d44037e513ad013a8ea759e123b7836a58372a8d241ed7e87820a0f9
  • Pointer size: 129 Bytes
  • Size of remote file: 5.21 kB
images/Cirrocumulus.jpg ADDED

Git LFS Details

  • SHA256: 5fd2a322a1bd635b5436d8723e7b16344d48c908b9b16c412ff0ede58a038bff
  • Pointer size: 130 Bytes
  • Size of remote file: 10.7 kB
images/Cirrostratus.jpg ADDED

Git LFS Details

  • SHA256: 263d2a664ec1ea9ae74158144df66d4907ff6a311a7c4faef789a6442a2d34de
  • Pointer size: 132 Bytes
  • Size of remote file: 3.62 MB
images/Cirrus.jpg ADDED

Git LFS Details

  • SHA256: a1efc001732b1c35ca9e204e2d4f4b5c8f8c5131c0bf450a8ef5bb7daaeac04b
  • Pointer size: 129 Bytes
  • Size of remote file: 7.28 kB
images/Cumulonimbus.jpg ADDED

Git LFS Details

  • SHA256: 19994146600a1b3b03a13f323510a1e959b17e5c4b11012488a3e8858c236bde
  • Pointer size: 130 Bytes
  • Size of remote file: 50.2 kB
images/Cumulus.jpg ADDED

Git LFS Details

  • SHA256: eafbe8cc467b74947e797cd5f2d9d87b2d5a24431f53ccc159225c8750474576
  • Pointer size: 131 Bytes
  • Size of remote file: 127 kB
images/Lenticular.jpg ADDED

Git LFS Details

  • SHA256: f862cbdf0fa8dec2a9f255c8d9d802a4c3b4dde8895092d8285342fa87fe64a7
  • Pointer size: 129 Bytes
  • Size of remote file: 4.66 kB
images/Nimbostratus.jpg ADDED

Git LFS Details

  • SHA256: a63d09816968bc631d6c198f787e8b7f46d1bb4989c13f856eb68a8cfe7e06e9
  • Pointer size: 130 Bytes
  • Size of remote file: 17.9 kB
images/Stratocumulus.jpg ADDED

Git LFS Details

  • SHA256: a21bd8abfecd36cdb0411928c3c53bee4abca183339486aa8dc948c0469c5185
  • Pointer size: 129 Bytes
  • Size of remote file: 6.52 kB
images/Stratus.jpg ADDED

Git LFS Details

  • SHA256: 8ec5a94c29760d148784e14ae7bdda4468618bd6ee89ec98acd7facfcf824407
  • Pointer size: 129 Bytes
  • Size of remote file: 7.35 kB
models/README.MD ADDED
File without changes
models/cloudmodel.pkl ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:406827942d140e486ec8b53afd3f0376d34d9045dbae151e7af1d22442448ff1
3
+ size 102978463