File size: 482 Bytes
3b07c2b
81fdfb6
 
3b07c2b
 
 
 
81fdfb6
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
import gradio as gr
#import whisper
import numpy as np

def greet(name):
    return "Hello " + name + "!!"

with open('app.css','r') as f:
    css_file = f.read() 

markdown="""
# Polish ASR BIGOS workspace
"""

block = gr.Blocks(css=css_file)
with block:
    gr.Markdown(markdown)
    with gr.Tabs():
        with gr.TabItem('Voicebot playground'):
            record = gr.Audio(source="microphone", label='Record your voice')
            save = gr.Button("Submit")

block.launch()