jacobda commited on
Commit
e60e21f
·
1 Parent(s): e42f7c6

Create app.py

Browse files
Files changed (1) hide show
  1. app.py +12 -0
app.py ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ with gr.Blocks() as demo:
2
+ history = gr.State([])
3
+ with gr.Row():
4
+ with gr.Column():
5
+ language = gr.Dropdown(list(LANGUAGES.keys()), value="english")
6
+ audio = gr.Audio(source="microphone", type="filepath")
7
+ link = gr.Textbox(label = "Put YouTube link here", value="")
8
+ submit = gr.Button(value="Translate")
9
+ with gr.Column():
10
+ chatbot = gr.Chatbot().style(color_map=("green", "gray"))
11
+
12
+ demo.launch()