Juanchoalric commited on
Commit
49021b1
1 Parent(s): 4507e1f

deploy with examples

Browse files
Files changed (3) hide show
  1. .gitattributes +1 -0
  2. after-a-bushfire.jpg +3 -0
  3. app.py +2 -1
.gitattributes CHANGED
@@ -29,3 +29,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
29
  *.zip filter=lfs diff=lfs merge=lfs -text
30
  *.zstandard filter=lfs diff=lfs merge=lfs -text
31
  *tfevents* filter=lfs diff=lfs merge=lfs -text
 
 
29
  *.zip filter=lfs diff=lfs merge=lfs -text
30
  *.zstandard filter=lfs diff=lfs merge=lfs -text
31
  *tfevents* filter=lfs diff=lfs merge=lfs -text
32
+ *.jpg filter=lfs diff=lfs merge=lfs -text
after-a-bushfire.jpg ADDED

Git LFS Details

  • SHA256: 2684ee0db4ddc5cddf48702ac393a21e020eebfd0088f57ef246932de48e5c80
  • Pointer size: 130 Bytes
  • Size of remote file: 80.3 kB
app.py CHANGED
@@ -14,5 +14,6 @@ label = gr.outputs.Label()
14
  gr.Interface(
15
  fn=classify_image,
16
  inputs="image",
17
- outputs="label",
 
18
  interpretation='default').launch()
 
14
  gr.Interface(
15
  fn=classify_image,
16
  inputs="image",
17
+ outputs="label",
18
+ examples=["after-a-bushfire.jpg"],
19
  interpretation='default').launch()