rahul5035 commited on
Commit
76780b5
·
1 Parent(s): aaf8f7d

Update app.py

Browse files

Added info msg

Files changed (1) hide show
  1. app.py +7 -2
app.py CHANGED
@@ -22,12 +22,16 @@ if st.button("submit"):
22
  col1, col2 = st.columns([2, 2])
23
 
24
  with col1:
25
- st.write(f"Video [{title}] downloaded successfully!")
26
  print(output_dir)
27
  st.video(f"{output_dir}/{title}.mp4")
28
 
 
 
 
 
29
  with col2:
30
- st.write("wait while model is performing its task")
31
  pred =Predict()
32
  frames_needed=25
33
  input_path=f"{output_dir}/{title}.mp4"
@@ -36,5 +40,6 @@ if st.button("submit"):
36
 
37
 
38
  st.video(output_path)
 
39
 
40
 
 
22
  col1, col2 = st.columns([2, 2])
23
 
24
  with col1:
25
+ st.success('Video Downloaded!', icon="✅")
26
  print(output_dir)
27
  st.video(f"{output_dir}/{title}.mp4")
28
 
29
+
30
+
31
+
32
+
33
  with col2:
34
+ st.info("Wait a while Model is Performing its Task")
35
  pred =Predict()
36
  frames_needed=25
37
  input_path=f"{output_dir}/{title}.mp4"
 
40
 
41
 
42
  st.video(output_path)
43
+ st.balloons()
44
 
45