apply suggestions
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
# Audio Transcription Fox
|
# Audio Transcription Firefox
|
||||||
|
|
||||||
Audio Transcription is a Firefox extension that allows users to capture any audio playing on the current tab and transcribe it using OpenAI-whisper in real time. Users will have the option to do voice activity detection as well to not send audio to server when there is no speech.
|
Audio Transcription is a Firefox extension that allows users to capture any audio playing on the current tab and transcribe it using OpenAI-whisper in real time. Users will have the option to do voice activity detection as well to not send audio to server when there is no speech.
|
||||||
|
|
||||||
|
|||||||
@@ -12,7 +12,3 @@ browser.runtime.onMessage.addListener(function(request, sender, sendResponse) {
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -202,7 +202,6 @@ function remove_element() {
|
|||||||
elem.remove()
|
elem.remove()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
browser.runtime.onMessage.addListener((request, sender, sendResponse) => {
|
browser.runtime.onMessage.addListener((request, sender, sendResponse) => {
|
||||||
const { action, data } = request;
|
const { action, data } = request;
|
||||||
if (action === "startCapture") {
|
if (action === "startCapture") {
|
||||||
@@ -223,7 +222,6 @@ browser.runtime.onMessage.addListener((request, sender, sendResponse) => {
|
|||||||
recorder = null;
|
recorder = null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
remove_element();
|
remove_element();
|
||||||
|
|
||||||
} else if (action === "show_transcript"){
|
} else if (action === "show_transcript"){
|
||||||
@@ -279,5 +277,3 @@ browser.runtime.onMessage.addListener((request, sender, sendResponse) => {
|
|||||||
}
|
}
|
||||||
sendResponse({});
|
sendResponse({});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
{
|
{
|
||||||
"manifest_version": 2,
|
"manifest_version": 2,
|
||||||
"name": "Audio Recorder",
|
"name": "Audio Transcription",
|
||||||
"version": "1.0",
|
"version": "1.0",
|
||||||
"description": "Record audio from any webpage.",
|
"description": "Transcribe audio from any webpage.",
|
||||||
"permissions": [
|
"permissions": [
|
||||||
"activeTab",
|
"activeTab",
|
||||||
"<all_urls>"
|
"<all_urls>"
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<title>Audio Capture</title>
|
<title>Audio Transcription</title>
|
||||||
<script src="popup.js"></script>
|
<script src="popup.js"></script>
|
||||||
<link rel="stylesheet" href="style.css" type="text/css">
|
<link rel="stylesheet" href="style.css" type="text/css">
|
||||||
</head>
|
</head>
|
||||||
|
|||||||
Reference in New Issue
Block a user