mirror of
https://github.com/storytold/artcraft.git
synced 2026-11-05 01:38:44 +00:00
changed face-aniamtion routing component
This commit is contained in:
1 parent
cff6ab28cd
commit
7c2d656624
2 files changed
+7
-19
No files matched your search
@@ -81,7 +81,6 @@ import { VoiceConversionModelListItem } from "@storyteller/components/src/api/vo
|
||||
import { CommunityCommissionsPage } from "./pages/contest/CommunityCommissionsPage";
|
||||
import { ProductUsageInfoPage } from "./pages/product_usage_info/ProductUsageInfoPage";
|
||||
import { TestingPage } from "./pages/testing/TestingPage";
|
||||
import { FaceAnimationPage } from "./pages/face-animation/FaceAnimationPage";
|
||||
|
||||
interface Props {
|
||||
sessionWrapper: SessionWrapper;
|
||||
@@ -433,15 +432,6 @@ class PageContainer extends React.Component<Props, State> {
|
||||
<CreateCategoryPage sessionWrapper={this.props.sessionWrapper} />
|
||||
</Route>
|
||||
|
||||
<Route path="/dev-lipsync">
|
||||
<LipsyncEditor {...{
|
||||
enqueueInferenceJob: this.props.enqueueInferenceJob,
|
||||
sessionSubscriptionsWrapper: this.props.sessionSubscriptionsWrapper,
|
||||
inferenceJobs: this.props.inferenceJobs,
|
||||
inferenceJobsByCategory: this.props.inferenceJobsByCategory
|
||||
}} />
|
||||
</Route>
|
||||
|
||||
<Route path="/media/:token">
|
||||
<Media/>
|
||||
</Route>
|
||||
@@ -554,14 +544,12 @@ class PageContainer extends React.Component<Props, State> {
|
||||
</Route>
|
||||
|
||||
<Route path="/face-animation">
|
||||
<FaceAnimationPage
|
||||
sessionSubscriptionsWrapper={
|
||||
this.props.sessionSubscriptionsWrapper
|
||||
}
|
||||
enqueueInferenceJob={this.props.enqueueInferenceJob}
|
||||
inferenceJobs={this.props.inferenceJobs}
|
||||
inferenceJobsByCategory={this.props.inferenceJobsByCategory}
|
||||
/>
|
||||
<LipsyncEditor {...{
|
||||
enqueueInferenceJob: this.props.enqueueInferenceJob,
|
||||
sessionSubscriptionsWrapper: this.props.sessionSubscriptionsWrapper,
|
||||
inferenceJobs: this.props.inferenceJobs,
|
||||
inferenceJobsByCategory: this.props.inferenceJobsByCategory
|
||||
}} />
|
||||
</Route>
|
||||
|
||||
<Route path="/commissions">
|
||||
|
||||
@@ -50,7 +50,7 @@ function FaceAnimationPage(props: Props) {
|
||||
|
||||
if (EnqueueFaceAnimationIsSuccess(result)) {
|
||||
props.enqueueInferenceJob(
|
||||
result.inference_job_token,
|
||||
result.inference_job_token!,
|
||||
FrontendInferenceJobType.FaceAnimation
|
||||
);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user