Spaces:
Sleeping
Sleeping
More operators
Browse files- gui/app.py +13 -1
gui/app.py
CHANGED
|
@@ -214,7 +214,7 @@ def _data_layout():
|
|
| 214 |
def _settings_layout():
|
| 215 |
with gr.Tab("Basic Settings"):
|
| 216 |
binary_operators = gr.CheckboxGroup(
|
| 217 |
-
choices=["+", "-", "*", "/", "^"],
|
| 218 |
label="Binary Operators",
|
| 219 |
value=["+", "-", "*", "/"],
|
| 220 |
)
|
|
@@ -229,6 +229,18 @@ def _settings_layout():
|
|
| 229 |
"sqrt",
|
| 230 |
"abs",
|
| 231 |
"tan",
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 232 |
],
|
| 233 |
label="Unary Operators",
|
| 234 |
value=["sin"],
|
|
|
|
| 214 |
def _settings_layout():
|
| 215 |
with gr.Tab("Basic Settings"):
|
| 216 |
binary_operators = gr.CheckboxGroup(
|
| 217 |
+
choices=["+", "-", "*", "/", "^", "max", "min", "mod", "cond"],
|
| 218 |
label="Binary Operators",
|
| 219 |
value=["+", "-", "*", "/"],
|
| 220 |
)
|
|
|
|
| 229 |
"sqrt",
|
| 230 |
"abs",
|
| 231 |
"tan",
|
| 232 |
+
"sinh",
|
| 233 |
+
"cosh",
|
| 234 |
+
"tanh",
|
| 235 |
+
"atan",
|
| 236 |
+
"asinh",
|
| 237 |
+
"acosh",
|
| 238 |
+
"erf",
|
| 239 |
+
"relu",
|
| 240 |
+
"round",
|
| 241 |
+
"floor",
|
| 242 |
+
"ceil",
|
| 243 |
+
"sign",
|
| 244 |
],
|
| 245 |
label="Unary Operators",
|
| 246 |
value=["sin"],
|