Spaces:
Configuration error
Configuration error
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,44 +1,3 @@
|
|
| 1 |
-
"Hugging Face's logo"
|
| 2 |
-
Hugging Face
|
| 3 |
-
Models
|
| 4 |
-
Datasets
|
| 5 |
-
Spaces
|
| 6 |
-
Community
|
| 7 |
-
Docs
|
| 8 |
-
Pricing
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
Hugging Face is way more fun with friends and colleagues! 🤗 Join an organization
|
| 12 |
-
Spaces:
|
| 13 |
-
ClassCat
|
| 14 |
-
/
|
| 15 |
-
DETR-Object-Detection
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
like
|
| 19 |
-
21
|
| 20 |
-
App
|
| 21 |
-
Files
|
| 22 |
-
Community
|
| 23 |
-
DETR-Object-Detection
|
| 24 |
-
/
|
| 25 |
-
app.py
|
| 26 |
-
|
| 27 |
-
ClassCat's picture
|
| 28 |
-
ClassCat
|
| 29 |
-
update app.py
|
| 30 |
-
4f82037
|
| 31 |
-
over 2 years ago
|
| 32 |
-
raw
|
| 33 |
-
|
| 34 |
-
Copy download link
|
| 35 |
-
history
|
| 36 |
-
blame
|
| 37 |
-
contribute
|
| 38 |
-
delete
|
| 39 |
-
|
| 40 |
-
3.35 kB
|
| 41 |
-
|
| 42 |
import torch
|
| 43 |
from transformers import pipeline
|
| 44 |
|
|
@@ -145,6 +104,3 @@ with gr.Blocks(title="DETR Object Detection - ClassCat",
|
|
| 145 |
#demo.queue()
|
| 146 |
demo.launch(debug=True)
|
| 147 |
|
| 148 |
-
|
| 149 |
-
### EOF ###
|
| 150 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
import torch
|
| 2 |
from transformers import pipeline
|
| 3 |
|
|
|
|
| 104 |
#demo.queue()
|
| 105 |
demo.launch(debug=True)
|
| 106 |
|
|
|
|
|
|
|
|
|