Skip to content

Commit

Permalink
Add video gradio input
Browse files Browse the repository at this point in the history
  • Loading branch information
leszekhanusz committed Apr 4, 2024
1 parent 27e8bc5 commit f76bf9e
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/stores/backend.js
Original file line number Diff line number Diff line change
Expand Up @@ -874,6 +874,14 @@ export const useBackendStore = defineStore({
visible: false,
};
break;
case "video":
input = {
label: props.name,
id: "video_" + gradio_input.id,
default: null,
visible: false,
};
break;
default:
console.log("Unsupported gradio component type: ", gradio_input.type);
console.log("Unsupported gradio component type: ", gradio_input);
Expand Down

0 comments on commit f76bf9e

Please sign in to comment.