Pranomvignesh
commited on
Commit
·
9fefaff
1
Parent(s):
e68532b
Enabled sharing
Browse files
app.py
CHANGED
@@ -45,7 +45,6 @@ examples = [
|
|
45 |
]
|
46 |
|
47 |
inputs = gr.Image(type="pil", shape=(224, 224),
|
48 |
-
streaming=True,
|
49 |
label="Upload your image for detection")
|
50 |
outputs = [
|
51 |
gr.Image(type="pil", label="Gun Detections"),
|
@@ -63,4 +62,4 @@ interface = gr.Interface(
|
|
63 |
live=True,
|
64 |
theme='huggingface'
|
65 |
)
|
66 |
-
interface.launch(debug=True, enable_queue=True)
|
|
|
45 |
]
|
46 |
|
47 |
inputs = gr.Image(type="pil", shape=(224, 224),
|
|
|
48 |
label="Upload your image for detection")
|
49 |
outputs = [
|
50 |
gr.Image(type="pil", label="Gun Detections"),
|
|
|
62 |
live=True,
|
63 |
theme='huggingface'
|
64 |
)
|
65 |
+
interface.launch(debug=True, share=True, enable_queue=True)
|