Skip to content

Commit

Permalink
Merge pull request #51 from FL33TW00D/feature/0.10.1
Browse files Browse the repository at this point in the history
chore: reexport Task
  • Loading branch information
FL33TW00D committed Nov 18, 2023
2 parents c16d444 + 0928aa8 commit b8e81b2
Show file tree
Hide file tree
Showing 6 changed files with 96 additions and 95 deletions.
2 changes: 1 addition & 1 deletion playground/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"react-hot-toast": "^2.4.1",
"react-responsive-modal": "^6.4.2",
"true-myth": "^7.1.0",
"whisper-turbo": "^0.10.0"
"whisper-turbo": "file:.."
},
"devDependencies": {
"@tailwindcss/typography": "^0.5.10",
Expand Down
29 changes: 15 additions & 14 deletions playground/pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion playground/src/components/configModal.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React, { useState, useEffect } from "react";
import Modal from "react-responsive-modal";
import { Task } from "whisper-webgpu";
import { Task } from "whisper-turbo";
import LanguageDropdown from "./languageDropdown";
import SuppressComponent from "./suppressSelector";
import TaskComponent from "./taskSelector";
Expand Down
4 changes: 2 additions & 2 deletions playground/src/components/controlPanel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ import {
SessionManager,
Segment,
DecodingOptionsBuilder,
initialize
initialize,
Task
} from "whisper-turbo";
import toast from "react-hot-toast";
import { humanFileSize } from "../util";
Expand All @@ -14,7 +15,6 @@ import ModelSelector from "./modelSelector";
import MicButton, { AudioMetadata } from "./micButton";
import GearIcon from "./gearIcon";
import ConfigModal, { ConfigOptions } from "./configModal";
import { Task } from "whisper-webgpu";

export interface Transcript {
segments: Array<Segment>;
Expand Down
Loading

0 comments on commit b8e81b2

Please sign in to comment.