feat: Add comprehensive timeline editor with frame editing and regeneration capabilities
This commit is contained in:
@@ -361,6 +361,28 @@ def render_task_detail_modal(task_id: str, pixelle_video):
|
||||
mime="video/mp4",
|
||||
use_container_width=True
|
||||
)
|
||||
|
||||
# Open in Editor button
|
||||
editor_url = f"http://localhost:3001/editor?storyboard_id={task_id}"
|
||||
st.markdown(
|
||||
f'''
|
||||
<a href="{editor_url}" target="_blank" style="text-decoration: none;">
|
||||
<button style="
|
||||
width: 100%;
|
||||
padding: 0.5rem 1rem;
|
||||
background-color: #262730;
|
||||
color: white;
|
||||
border: 1px solid #262730;
|
||||
border-radius: 0.5rem;
|
||||
cursor: pointer;
|
||||
margin-top: 0.5rem;
|
||||
">
|
||||
✏️ 在编辑器中打开
|
||||
</button>
|
||||
</a>
|
||||
''',
|
||||
unsafe_allow_html=True
|
||||
)
|
||||
else:
|
||||
st.warning("Video file not found")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user