Spaces:
Running
Running
3rd ver
Browse files
app.py
CHANGED
@@ -363,6 +363,7 @@ def main():
|
|
363 |
else:
|
364 |
# Set the processing state to True to prevent multiple runs
|
365 |
st.session_state.processing = True
|
|
|
366 |
|
367 |
# Create a temporary folder for processing
|
368 |
temp_dir = create_temp_folder()
|
@@ -434,7 +435,7 @@ def main():
|
|
434 |
if video_found:
|
435 |
st.session_state.final_video_path = final_video_path
|
436 |
st.session_state.process_complete = True
|
437 |
-
st.rerun()
|
438 |
else:
|
439 |
st.error("No output video was generated. Check logs for details.")
|
440 |
st.session_state.processing = False
|
|
|
363 |
else:
|
364 |
# Set the processing state to True to prevent multiple runs
|
365 |
st.session_state.processing = True
|
366 |
+
st.info("Processing your morphing request. Please wait...")
|
367 |
|
368 |
# Create a temporary folder for processing
|
369 |
temp_dir = create_temp_folder()
|
|
|
435 |
if video_found:
|
436 |
st.session_state.final_video_path = final_video_path
|
437 |
st.session_state.process_complete = True
|
438 |
+
st.rerun() # This is crucial for showing the results page
|
439 |
else:
|
440 |
st.error("No output video was generated. Check logs for details.")
|
441 |
st.session_state.processing = False
|