Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -8,7 +8,7 @@ from sorawm.core import SoraWM
|
|
| 8 |
|
| 9 |
|
| 10 |
def main():
|
| 11 |
-
|
| 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 |
-
|
|
|
|
|
|
|
| 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 |
|