Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Video frame extraction #4085

Open
wants to merge 94 commits into
base: main
Choose a base branch
from

Conversation

charli117
Copy link
Contributor

@charli117 charli117 commented May 4, 2024

Description

Using video frame extraction and ASR technology to realize short video content inference

When debugging ChatFlow app、Workflow app in the development environment, change 'api/core/file/file_obj.py' as follows:
’‘’
@Property
def preview_url(self) -> Optional[str]:
"""
Get signed preview url
:return:
"""
return self._get_data(force_url=True)
‘’‘
change to
’‘’
@Property
def preview_url(self) -> Optional[str]:
"""
Get signed preview url
:return:
"""
return self._get_data(force_url=False)
‘’‘

Fixes # (issue)

Type of Change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update, included: Dify Document
  • Improvement, including but not limited to code refactoring, performance optimization, and UI/UX improvement
  • Dependency upgrade

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration
WechatIMG1352
WechatIMG1340
11

  • TODO

Suggested Checklist:

  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • My changes generate no new warnings
  • I ran dev/reformat(backend) and cd web && npx lint-staged(frontend) to appease the lint gods
  • optional I have made corresponding changes to the documentation
  • optional I have added tests that prove my fix is effective or that my feature works
  • optional New and existing unit tests pass locally with my changes

luowei and others added 30 commits October 24, 2023 22:32
# Conflicts:
#	web/i18n/lang/app-overview.zh.ts
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com>
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com>
@dosubot dosubot bot added size:XL This PR changes 500-999 lines, ignoring generated files. 🌊 feat:workflow Workflow related stuff. 💪 enhancement New feature or request labels May 4, 2024
@takatost takatost self-requested a review May 5, 2024 13:28
@takatost
Copy link
Collaborator

takatost commented May 5, 2024

We are currently reorganizing and designing the file data structure. We will communicate with you about adjustments after we finish the design. 😁

@charli117
Copy link
Contributor Author

We are currently reorganizing and designing the file data structure. We will communicate with you about adjustments after we finish the design. 😁

Okay, no problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
💪 enhancement New feature or request 🌊 feat:workflow Workflow related stuff. size:XL This PR changes 500-999 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants