Update app.py
Browse files
app.py
CHANGED
@@ -164,7 +164,7 @@ def interpolate_and_plot(x_input, y_input, x_predict, method, plot_title, x_labe
|
|
164 |
def toggle_plot_options(show_options):
|
165 |
return not show_options, gr.update(visible=not show_options)
|
166 |
|
167 |
-
with gr.Blocks(
|
168 |
gr.Markdown("# Interpolation App")
|
169 |
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.")
|
170 |
|
|
|
164 |
def toggle_plot_options(show_options):
|
165 |
return not show_options, gr.update(visible=not show_options)
|
166 |
|
167 |
+
with gr.Blocks(theme==seafoam) as iface:
|
168 |
gr.Markdown("# Interpolation App")
|
169 |
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.")
|
170 |
|