mirror of
https://github.com/gradio-app/gradio.git
synced 2024-11-27 01:40:20 +08:00
fix audio output cache (#804)
* fix audio output cache * changes * version update Co-authored-by: Ali Abid <aliabid94@gmail.com>
This commit is contained in:
parent
f90ab24a72
commit
fab4a311b0
BIN
demo/streaming_stt/deepspeech-0.8.2-models.pbmm
Normal file
BIN
demo/streaming_stt/deepspeech-0.8.2-models.pbmm
Normal file
Binary file not shown.
@ -1,6 +1,6 @@
|
||||
Metadata-Version: 2.1
|
||||
Name: gradio
|
||||
Version: 2.8.9
|
||||
Version: 2.8.10
|
||||
Summary: Python library for easily interacting with trained machine learning models
|
||||
Home-page: https://github.com/gradio-app/gradio-UI
|
||||
Author: Abubakar Abid, Ali Abid, Ali Abdalla, Dawood Khan, Ahsen Khaliq
|
||||
|
@ -1 +1 @@
|
||||
2.8.9
|
||||
2.8.10
|
2
setup.py
2
setup.py
@ -5,7 +5,7 @@ except ImportError:
|
||||
|
||||
setup(
|
||||
name="gradio",
|
||||
version="2.8.9",
|
||||
version="2.8.10",
|
||||
include_package_data=True,
|
||||
description="Python library for easily interacting with trained machine learning models",
|
||||
author="Abubakar Abid, Ali Abid, Ali Abdalla, Dawood Khan, Ahsen Khaliq",
|
||||
|
@ -1,11 +1,12 @@
|
||||
<script lang="ts">
|
||||
import { afterUpdate } from "svelte";
|
||||
export let value: string;
|
||||
export let theme: string;
|
||||
|
||||
let audio: HTMLAudioElement;
|
||||
afterUpdate(() => (audio.src = value));
|
||||
</script>
|
||||
|
||||
<audio {theme} controls>
|
||||
<audio bind:this={audio} class="w-full" {theme} controls>
|
||||
<source src={value} />
|
||||
</audio>
|
||||
|
||||
<style lang="postcss">
|
||||
</style>
|
||||
|
@ -84,8 +84,12 @@ for guide in sorted(os.listdir(GRADIO_GUIDES_DIR)):
|
||||
[
|
||||
line
|
||||
for line in guide_content.split("\n")
|
||||
if not (line.startswith("tags: ") or line.startswith("related_spaces: ") or
|
||||
line.startswith("Contributed by ") or line == title)
|
||||
if not (
|
||||
line.startswith("tags: ")
|
||||
or line.startswith("related_spaces: ")
|
||||
or line.startswith("Contributed by ")
|
||||
or line == title
|
||||
)
|
||||
]
|
||||
)
|
||||
|
||||
@ -97,7 +101,7 @@ for guide in sorted(os.listdir(GRADIO_GUIDES_DIR)):
|
||||
"tags": tags,
|
||||
"spaces": spaces,
|
||||
"url": url,
|
||||
"contributor": contributor
|
||||
"contributor": contributor,
|
||||
}
|
||||
)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user