removed script in schema and added index in audio
Browse files
App/Editor/Schema.py
CHANGED
@@ -22,7 +22,6 @@ class Assets(BaseModel):
|
|
22 |
class EditorRequest(BaseModel):
|
23 |
links: Optional[List[LinkInfo]] # List of LinkInfo objects
|
24 |
assets: List[Assets]
|
25 |
-
script: str
|
26 |
|
27 |
|
28 |
class TaskInfo(BaseModel):
|
|
|
22 |
class EditorRequest(BaseModel):
|
23 |
links: Optional[List[LinkInfo]] # List of LinkInfo objects
|
24 |
assets: List[Assets]
|
|
|
25 |
|
26 |
|
27 |
class TaskInfo(BaseModel):
|
Remotion-app/src/HelloWorld/AudioStream.jsx
CHANGED
@@ -8,6 +8,7 @@ export default function AudioStream() {
|
|
8 |
{audioSequences.map((entry, index) => {
|
9 |
return (
|
10 |
<Audio
|
|
|
11 |
endAt={entry.props.endAt}
|
12 |
startFrom={entry.props.startFrom}
|
13 |
src={staticFile(entry.name)}
|
|
|
8 |
{audioSequences.map((entry, index) => {
|
9 |
return (
|
10 |
<Audio
|
11 |
+
key={index}
|
12 |
endAt={entry.props.endAt}
|
13 |
startFrom={entry.props.startFrom}
|
14 |
src={staticFile(entry.name)}
|