HamzaFarhan commited on
Commit
aadf6db
1 Parent(s): 0e05e5e
Files changed (4) hide show
  1. .gitattributes +1 -0
  2. app.ipynb +4 -3
  3. app.py +1 -1
  4. yolov5s.pt +3 -0
.gitattributes CHANGED
@@ -32,3 +32,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
32
  *.zip filter=lfs diff=lfs merge=lfs -text
33
  *.zst filter=lfs diff=lfs merge=lfs -text
34
  *tfevents* filter=lfs diff=lfs merge=lfs -text
 
 
32
  *.zip filter=lfs diff=lfs merge=lfs -text
33
  *.zst filter=lfs diff=lfs merge=lfs -text
34
  *tfevents* filter=lfs diff=lfs merge=lfs -text
35
+ yolov5s.pt filter=lfs diff=lfs merge=lfs -text
app.ipynb CHANGED
@@ -43,14 +43,15 @@
43
  "output_type": "stream",
44
  "text": [
45
  "Running on local URL: http://127.0.0.1:7860\n",
 
46
  "\n",
47
- "To create a public link, set `share=True` in `launch()`.\n"
48
  ]
49
  },
50
  {
51
  "data": {
52
  "text/html": [
53
- "<div><iframe src=\"http://127.0.0.1:7860/\" width=\"100%\" height=\"500\" allow=\"autoplay; camera; microphone; clipboard-read; clipboard-write;\" frameborder=\"0\" allowfullscreen></iframe></div>"
54
  ],
55
  "text/plain": [
56
  "<IPython.core.display.HTML object>"
@@ -79,7 +80,7 @@
79
  "\n",
80
  "iface = gr.Interface(fn=predict, inputs=gr.Image(type=\"numpy\"), outputs=gr.Image(type=\"numpy\"),\n",
81
  " examples=get_image_files('imgs'))\n",
82
- "iface.launch()"
83
  ]
84
  },
85
  {
 
43
  "output_type": "stream",
44
  "text": [
45
  "Running on local URL: http://127.0.0.1:7860\n",
46
+ "Running on public URL: https://59f777ae-610d-44fd.gradio.live\n",
47
  "\n",
48
+ "This share link expires in 72 hours. For free permanent hosting and GPU upgrades (NEW!), check out Spaces: https://huggingface.co/spaces\n"
49
  ]
50
  },
51
  {
52
  "data": {
53
  "text/html": [
54
+ "<div><iframe src=\"https://59f777ae-610d-44fd.gradio.live\" width=\"100%\" height=\"500\" allow=\"autoplay; camera; microphone; clipboard-read; clipboard-write;\" frameborder=\"0\" allowfullscreen></iframe></div>"
55
  ],
56
  "text/plain": [
57
  "<IPython.core.display.HTML object>"
 
80
  "\n",
81
  "iface = gr.Interface(fn=predict, inputs=gr.Image(type=\"numpy\"), outputs=gr.Image(type=\"numpy\"),\n",
82
  " examples=get_image_files('imgs'))\n",
83
+ "iface.launch(share=True)"
84
  ]
85
  },
86
  {
app.py CHANGED
@@ -19,4 +19,4 @@ def predict(img):
19
 
20
  iface = gr.Interface(fn=predict, inputs=gr.Image(type="numpy"), outputs=gr.Image(type="numpy"),
21
  examples=get_image_files('imgs'))
22
- iface.launch()
 
19
 
20
  iface = gr.Interface(fn=predict, inputs=gr.Image(type="numpy"), outputs=gr.Image(type="numpy"),
21
  examples=get_image_files('imgs'))
22
+ iface.launch(share=True)
yolov5s.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8b3b748c1e592ddd8868022e8732fde20025197328490623cc16c6f24d0782ee
3
+ size 14808437