Skip to content

Commit

Permalink
working with improved design
Browse files Browse the repository at this point in the history
  • Loading branch information
lharries committed May 10, 2024
1 parent 8ac7973 commit e237b08
Show file tree
Hide file tree
Showing 11 changed files with 64 additions and 658 deletions.
2 changes: 1 addition & 1 deletion examples/dubbing/e2e-example/backend/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ def stream(id: str):
return Response(stream_media(video_path), mimetype="video/mp4")


@app.route("/projects/<id>/audio/<lang_code>", methods=["GET"])
@app.route("/projects/<id>/audio/<lang_code>.mp3", methods=["GET"])
def stream_audio(id: str, lang_code: str):
stream_audio = f"data/{id}/audio_{lang_code}.mp3"
return Response(stream_media(stream_audio), mimetype="audio/mp3")
Expand Down
5 changes: 0 additions & 5 deletions examples/dubbing/e2e-example/frontend/src/App.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import { QueryClient, QueryClientProvider } from "react-query";
import { createBrowserRouter, RouterProvider } from "react-router-dom";
import { Create } from "./pages/create";
import { Stream } from "./pages/stream";
import { Toaster } from "./components/ui/toaster";
import Carousel from "./pages/carousel";

Expand All @@ -13,10 +12,6 @@ function App() {
path: "/",
element: <Create />,
},
{
path: "/stream/:id",
element: <Stream />,
},
{
path: "/carousel/:id",
element: <Carousel />,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,8 @@
z-index: 0;
pointer-events: none;
user-select: none;
top: 0;
top: 50%;
transform: translateY(-50%);
@media (max-width: 1280px) {
height: calc(650px * 0.5625);
}
Expand Down

This file was deleted.

Loading

0 comments on commit e237b08

Please sign in to comment.