Update app.py
Browse files
app.py
CHANGED
@@ -1366,7 +1366,7 @@ with gradio.Blocks() as demo:
|
|
1366 |
num = gradio.Number(42, label="Type the index of the shape you would like to use or randomly select it.")
|
1367 |
btn1 = gradio.Button("Randomize")
|
1368 |
with gradio.Column():
|
1369 |
-
perf = gradio.Timeseries(x="Frequency", y=['Surge', 'Heave', 'Pitch'], label="Performance")
|
1370 |
|
1371 |
with gradio.Row():
|
1372 |
btn2 = gradio.Button("Synthesize Geometry")
|
|
|
1366 |
num = gradio.Number(42, label="Type the index of the shape you would like to use or randomly select it.")
|
1367 |
btn1 = gradio.Button("Randomize")
|
1368 |
with gradio.Column():
|
1369 |
+
perf = gradio.Timeseries(lambda: performance(42), x="Frequency", y=['Surge', 'Heave', 'Pitch'], label="Performance")
|
1370 |
|
1371 |
with gradio.Row():
|
1372 |
btn2 = gradio.Button("Synthesize Geometry")
|