Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -171,7 +171,7 @@ def interpolate_and_plot(x_input, y_input, x_predict, method, plot_title, x_labe
|
|
| 171 |
def toggle_plot_options(show_options):
|
| 172 |
return not show_options, gr.update(visible=not show_options)
|
| 173 |
|
| 174 |
-
with gr.Blocks(theme=
|
| 175 |
gr.Markdown("# Interpolation App")
|
| 176 |
gr.Markdown("Enter x and y values to see the interpolation graph. Choose the interpolation method using the radio buttons. Optionally, enter an x value (between min and max of input x values) to predict its corresponding y value. Note: Newton Forward and Backward methods require uniform x spacing.")
|
| 177 |
|
|
|
|
| 171 |
def toggle_plot_options(show_options):
|
| 172 |
return not show_options, gr.update(visible=not show_options)
|
| 173 |
|
| 174 |
+
with gr.Blocks(theme=seafoam) as iface:
|
| 175 |
gr.Markdown("# Interpolation App")
|
| 176 |
gr.Markdown("Enter x and y values to see the interpolation graph. Choose the interpolation method using the radio buttons. Optionally, enter an x value (between min and max of input x values) to predict its corresponding y value. Note: Newton Forward and Backward methods require uniform x spacing.")
|
| 177 |
|