Update app.py
Browse files
app.py
CHANGED
|
@@ -133,14 +133,10 @@ with col1:
|
|
| 133 |
<label for="func_input">Enter a function of 'x':</label>
|
| 134 |
<span class="tooltiptext">
|
| 135 |
**How to input your function:**
|
| 136 |
-
- Please give the inputs as mentioned below
|
| 137 |
-
|
| 138 |
-
- x
|
| 139 |
-
|
| 140 |
-
- sin(x) as np.sin(x)
|
| 141 |
-
|
| 142 |
-
- log(x) as np.log(x),
|
| 143 |
-
|
| 144 |
- e^x or exp(x) as np.exp(x).
|
| 145 |
</span>
|
| 146 |
</div>
|
|
@@ -150,7 +146,7 @@ with col1:
|
|
| 150 |
|
| 151 |
# Use text input for the user to define a function, but no `value` argument
|
| 152 |
func_input = st.text_input(
|
| 153 |
-
"",
|
| 154 |
key="func_input",
|
| 155 |
on_change=reset_state
|
| 156 |
)
|
|
|
|
| 133 |
<label for="func_input">Enter a function of 'x':</label>
|
| 134 |
<span class="tooltiptext">
|
| 135 |
**How to input your function:**
|
| 136 |
+
- Please give the inputs as mentioned below
|
| 137 |
+
- x^n as x**n,
|
| 138 |
+
- sin(x) as np.sin(x)
|
| 139 |
+
- log(x) as np.log(x),
|
|
|
|
|
|
|
|
|
|
|
|
|
| 140 |
- e^x or exp(x) as np.exp(x).
|
| 141 |
</span>
|
| 142 |
</div>
|
|
|
|
| 146 |
|
| 147 |
# Use text input for the user to define a function, but no `value` argument
|
| 148 |
func_input = st.text_input(
|
| 149 |
+
"👇",
|
| 150 |
key="func_input",
|
| 151 |
on_change=reset_state
|
| 152 |
)
|