hello10000 commited on
Commit
919660f
·
verified ·
1 Parent(s): 62ad04d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -2
app.py CHANGED
@@ -8,7 +8,7 @@ from sorawm.core import SoraWM
8
 
9
 
10
  def main():
11
- st.set_page_config(
12
  page_title="Sora Watermark Cleaner", page_icon="🎬", layout="centered"
13
  )
14
 
@@ -16,7 +16,9 @@ def main():
16
  st.markdown("Remove watermarks from Sora-generated videos with ease")
17
 
18
  # Initialize SoraWM
19
- st.write("Loaded UI without model")
 
 
20
 
21
  st.markdown("---")
22
 
 
8
 
9
 
10
  def main():
11
+ st.set_page_config(
12
  page_title="Sora Watermark Cleaner", page_icon="🎬", layout="centered"
13
  )
14
 
 
16
  st.markdown("Remove watermarks from Sora-generated videos with ease")
17
 
18
  # Initialize SoraWM
19
+ if "sora_wm" not in st.session_state:
20
+ with st.spinner("Loading AI models..."):
21
+ st.session_state.sora_wm = SoraWM()
22
 
23
  st.markdown("---")
24