Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -99,10 +99,10 @@ def process_refexp(image: Image, prompt: str):
|
|
| 99 |
# draw center point circle
|
| 100 |
img1 = ImageDraw.Draw(image)
|
| 101 |
|
| 102 |
-
r =
|
| 103 |
shape = [(x-r, y-r), (x+r, y+r)]
|
| 104 |
-
img1.ellipse(shape, outline="green", width=
|
| 105 |
-
img1.ellipse(shape, outline="white", width=
|
| 106 |
|
| 107 |
return image, center_point
|
| 108 |
|
|
|
|
| 99 |
# draw center point circle
|
| 100 |
img1 = ImageDraw.Draw(image)
|
| 101 |
|
| 102 |
+
r = 30
|
| 103 |
shape = [(x-r, y-r), (x+r, y+r)]
|
| 104 |
+
img1.ellipse(shape, outline="green", width=20)
|
| 105 |
+
img1.ellipse(shape, outline="white", width=10
|
| 106 |
|
| 107 |
return image, center_point
|
| 108 |
|