Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -35,11 +35,12 @@ def sigmoid_transform(x1: float, x2: float, x3: float) -> dict:
|
|
| 35 |
def sigmoid(x):
|
| 36 |
return 1 / (1 + math.exp(-x))
|
| 37 |
|
| 38 |
-
return
|
| 39 |
-
"
|
| 40 |
-
"
|
| 41 |
-
"
|
| 42 |
-
|
|
|
|
| 43 |
|
| 44 |
@tool
|
| 45 |
def my_custom_tool(arg1: str, arg2: int) -> str:
|
|
|
|
| 35 |
def sigmoid(x):
|
| 36 |
return 1 / (1 + math.exp(-x))
|
| 37 |
|
| 38 |
+
return (
|
| 39 |
+
"### 🔥 Sigmoid Transformation Results\n"
|
| 40 |
+
f"- **x1 = {x1}** → σ(x1) = `{sigmoid(x1):.4f}`\n"
|
| 41 |
+
f"- **x2 = {x2}** → σ(x2) = `{sigmoid(x2):.4f}`\n"
|
| 42 |
+
f"- **x3 = {x3}** → σ(x3) = `{sigmoid(x3):.4f}`\n"
|
| 43 |
+
)
|
| 44 |
|
| 45 |
@tool
|
| 46 |
def my_custom_tool(arg1: str, arg2: int) -> str:
|