Spaces:
Runtime error
Runtime error
Franny Dean
commited on
Commit
·
00831c5
1
Parent(s):
47df762
wrong filename
Browse files- .ipynb_checkpoints/app-checkpoint.py +1 -1
- app.py +1 -1
.ipynb_checkpoints/app-checkpoint.py
CHANGED
@@ -771,7 +771,7 @@ def generate_example():
|
|
771 |
|
772 |
plot, Rm, Ra, Emax, Emin, Vd,Tc, start_v = pvloop_simulator(Rm=round(results[4].item(),2), Ra=round(results[5].item(),2), Emax=round(results[2].item(),2), Emin=round(results[3].item(),2), Vd=round(results[6].item(),2), Tc=round(results[0].item(),2), start_v=round(results[1].item(),2))
|
773 |
video = video.replace("avi", "mp4")
|
774 |
-
animated = "<img src='
|
775 |
return video, animated, Rm, Ra, Emax, Emin, Vd, Tc, start_v
|
776 |
|
777 |
|
|
|
771 |
|
772 |
plot, Rm, Ra, Emax, Emin, Vd,Tc, start_v = pvloop_simulator(Rm=round(results[4].item(),2), Ra=round(results[5].item(),2), Emax=round(results[2].item(),2), Emin=round(results[3].item(),2), Vd=round(results[6].item(),2), Tc=round(results[0].item(),2), start_v=round(results[1].item(),2))
|
773 |
video = video.replace("avi", "mp4")
|
774 |
+
animated = "<img src='prediction.gif' alt='pv_loop'>" # "prediction.gif" # style="width:48px;height:48px;"
|
775 |
return video, animated, Rm, Ra, Emax, Emin, Vd, Tc, start_v
|
776 |
|
777 |
|
app.py
CHANGED
@@ -771,7 +771,7 @@ def generate_example():
|
|
771 |
|
772 |
plot, Rm, Ra, Emax, Emin, Vd,Tc, start_v = pvloop_simulator(Rm=round(results[4].item(),2), Ra=round(results[5].item(),2), Emax=round(results[2].item(),2), Emin=round(results[3].item(),2), Vd=round(results[6].item(),2), Tc=round(results[0].item(),2), start_v=round(results[1].item(),2))
|
773 |
video = video.replace("avi", "mp4")
|
774 |
-
animated = "<img src='
|
775 |
return video, animated, Rm, Ra, Emax, Emin, Vd, Tc, start_v
|
776 |
|
777 |
|
|
|
771 |
|
772 |
plot, Rm, Ra, Emax, Emin, Vd,Tc, start_v = pvloop_simulator(Rm=round(results[4].item(),2), Ra=round(results[5].item(),2), Emax=round(results[2].item(),2), Emin=round(results[3].item(),2), Vd=round(results[6].item(),2), Tc=round(results[0].item(),2), start_v=round(results[1].item(),2))
|
773 |
video = video.replace("avi", "mp4")
|
774 |
+
animated = "<img src='prediction.gif' alt='pv_loop'>" # "prediction.gif" # style="width:48px;height:48px;"
|
775 |
return video, animated, Rm, Ra, Emax, Emin, Vd, Tc, start_v
|
776 |
|
777 |
|