Spaces:
Build error
Build error
Commit
·
1f4af37
1
Parent(s):
c9e7f8b
Updated the function names and processes
Browse files
app.py
CHANGED
|
@@ -134,7 +134,8 @@ def transform_image(image, func_choice, radius, center_x, center_y, strength, ed
|
|
| 134 |
|
| 135 |
def bulge(x, y):
|
| 136 |
r = np.sqrt(x**2 + y**2)
|
| 137 |
-
return -1 / (r + 1)
|
|
|
|
| 138 |
|
| 139 |
def spiral(x, y, frequency=1):
|
| 140 |
r = np.sqrt(x**2 + y**2)
|
|
|
|
| 134 |
|
| 135 |
def bulge(x, y):
|
| 136 |
r = np.sqrt(x**2 + y**2)
|
| 137 |
+
# return -1 / (r + 1)
|
| 138 |
+
return -r
|
| 139 |
|
| 140 |
def spiral(x, y, frequency=1):
|
| 141 |
r = np.sqrt(x**2 + y**2)
|