Franny Dean commited on
Commit
a13a624
1 Parent(s): 1a298bf
Files changed (2) hide show
  1. .ipynb_checkpoints/app-checkpoint.py +10 -10
  2. app.py +10 -10
.ipynb_checkpoints/app-checkpoint.py CHANGED
@@ -774,15 +774,15 @@ def generate_example():
774
  #video = f"""<video height='500' width='500' autoplay loop muted>
775
  # <source src={video_file} type='video/mp4'/>
776
  # </video>"""
777
- animated = """<!DOCTYPE html>
778
- <html>
779
- <body>
780
- <video height='500' width='500' controls>
781
- <source src='prediction.mp4' type='video/mp4'/>
782
- Your browser does not support the video tag.
783
- </video>
784
- </body>
785
- </html>
786
  # """
787
  #"prediction.mp4"
788
  #<video height='500' width='500' autoplay loop muted>
@@ -869,7 +869,7 @@ with gr.Blocks() as demo:
869
  generate_button = gr.Button("Load sample echocardiogram and generate result")
870
  with gr.Row():
871
  video = gr.PlayableVideo(autoplay=True) # gr.HTML() #
872
- plot = gr.HTML() # gr.PlayableVideo(autoplay=True) #
873
 
874
  with gr.Row():
875
  Rm = gr.Number(label="Mitral valve circuit resistance (Rm) mmHg*s/ml:")
 
774
  #video = f"""<video height='500' width='500' autoplay loop muted>
775
  # <source src={video_file} type='video/mp4'/>
776
  # </video>"""
777
+ animated = "prediction.mp4" #"""<!DOCTYPE html>
778
+ #<html>
779
+ #<body>
780
+ #<video height='500' width='500' controls>
781
+ #<source src='prediction.mp4' type='video/mp4'/>
782
+ # Your browser does not support the video tag.
783
+ #</video>
784
+ # </body>
785
+ # </html>
786
  # """
787
  #"prediction.mp4"
788
  #<video height='500' width='500' autoplay loop muted>
 
869
  generate_button = gr.Button("Load sample echocardiogram and generate result")
870
  with gr.Row():
871
  video = gr.PlayableVideo(autoplay=True) # gr.HTML() #
872
+ plot = gr.PlayableVideo(autoplay=True) # gr.HTML() #
873
 
874
  with gr.Row():
875
  Rm = gr.Number(label="Mitral valve circuit resistance (Rm) mmHg*s/ml:")
app.py CHANGED
@@ -774,15 +774,15 @@ def generate_example():
774
  #video = f"""<video height='500' width='500' autoplay loop muted>
775
  # <source src={video_file} type='video/mp4'/>
776
  # </video>"""
777
- animated = """<!DOCTYPE html>
778
- <html>
779
- <body>
780
- <video height='500' width='500' controls>
781
- <source src='prediction.mp4' type='video/mp4'/>
782
- Your browser does not support the video tag.
783
- </video>
784
- </body>
785
- </html>
786
  # """
787
  #"prediction.mp4"
788
  #<video height='500' width='500' autoplay loop muted>
@@ -869,7 +869,7 @@ with gr.Blocks() as demo:
869
  generate_button = gr.Button("Load sample echocardiogram and generate result")
870
  with gr.Row():
871
  video = gr.PlayableVideo(autoplay=True) # gr.HTML() #
872
- plot = gr.HTML() # gr.PlayableVideo(autoplay=True) #
873
 
874
  with gr.Row():
875
  Rm = gr.Number(label="Mitral valve circuit resistance (Rm) mmHg*s/ml:")
 
774
  #video = f"""<video height='500' width='500' autoplay loop muted>
775
  # <source src={video_file} type='video/mp4'/>
776
  # </video>"""
777
+ animated = "prediction.mp4" #"""<!DOCTYPE html>
778
+ #<html>
779
+ #<body>
780
+ #<video height='500' width='500' controls>
781
+ #<source src='prediction.mp4' type='video/mp4'/>
782
+ # Your browser does not support the video tag.
783
+ #</video>
784
+ # </body>
785
+ # </html>
786
  # """
787
  #"prediction.mp4"
788
  #<video height='500' width='500' autoplay loop muted>
 
869
  generate_button = gr.Button("Load sample echocardiogram and generate result")
870
  with gr.Row():
871
  video = gr.PlayableVideo(autoplay=True) # gr.HTML() #
872
+ plot = gr.PlayableVideo(autoplay=True) # gr.HTML() #
873
 
874
  with gr.Row():
875
  Rm = gr.Number(label="Mitral valve circuit resistance (Rm) mmHg*s/ml:")