Spaces:
Running
Running
Upload with huggingface_hub
Browse files
.DS_Store
ADDED
Binary file (6.15 kB). View file
|
|
README.md
CHANGED
@@ -1,12 +1,12 @@
|
|
|
|
1 |
---
|
2 |
-
title:
|
3 |
-
emoji:
|
4 |
-
colorFrom:
|
5 |
-
colorTo:
|
6 |
sdk: gradio
|
7 |
sdk_version: 3.3
|
|
|
8 |
app_file: app.py
|
9 |
pinned: false
|
10 |
---
|
11 |
-
|
12 |
-
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
|
|
1 |
+
|
2 |
---
|
3 |
+
title: image_segmentation
|
4 |
+
emoji: 💩
|
5 |
+
colorFrom: indigo
|
6 |
+
colorTo: indigo
|
7 |
sdk: gradio
|
8 |
sdk_version: 3.3
|
9 |
+
|
10 |
app_file: app.py
|
11 |
pinned: false
|
12 |
---
|
|
|
|
app.py
CHANGED
@@ -1,4 +1,5 @@
|
|
1 |
# URL: https://huggingface.co/spaces/gradio/image_segmentation/
|
|
|
2 |
# imports
|
3 |
import gradio as gr
|
4 |
import torch
|
|
|
1 |
# URL: https://huggingface.co/spaces/gradio/image_segmentation/
|
2 |
+
# DESCRIPTION: Image segmentation using DETR. Takes in both an inputu image and the desired confidence, and returns a segmented image.
|
3 |
# imports
|
4 |
import gradio as gr
|
5 |
import torch
|