Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -873,7 +873,7 @@ def lvad_plots(Rm, Ra, Emax, Emin, Vd, Tc, start_v, beta, loop_simulated=True):
|
|
873 |
|
874 |
if loop_simulated:
|
875 |
# plt.title('', fontsize=16)
|
876 |
-
anim = animation.FuncAnimation(fig, partial(update), frames=100, interval=
|
877 |
anim.save("simulated_lvad.mp4")
|
878 |
anim_plot = "simulated_lvad.mp4"
|
879 |
return anim_plot, round(ef_nolvad,2), round(new_ef,2), round(co_nolvad,2), round(CO, 2)
|
|
|
873 |
|
874 |
if loop_simulated:
|
875 |
# plt.title('', fontsize=16)
|
876 |
+
anim = animation.FuncAnimation(fig, partial(update), frames=100, interval=90)
|
877 |
anim.save("simulated_lvad.mp4")
|
878 |
anim_plot = "simulated_lvad.mp4"
|
879 |
return anim_plot, round(ef_nolvad,2), round(new_ef,2), round(co_nolvad,2), round(CO, 2)
|