Update app.py
Browse files
app.py
CHANGED
@@ -115,7 +115,7 @@ with gr.Blocks(css="style.css") as demo:
|
|
115 |
with gr.Column(elem_id="col-container-2"):
|
116 |
with gr.Row():
|
117 |
record_input = gr.Audio(source="microphone",type="filepath", label="Audio input", show_label=True, elem_id="record_btn")
|
118 |
-
openai_api_key = gr.
|
119 |
whisper_tr = gr.Textbox(label="whisper english translation", elem_id="text_inp")
|
120 |
|
121 |
send_btn = gr.Button("Send my request !")
|
|
|
115 |
with gr.Column(elem_id="col-container-2"):
|
116 |
with gr.Row():
|
117 |
record_input = gr.Audio(source="microphone",type="filepath", label="Audio input", show_label=True, elem_id="record_btn")
|
118 |
+
openai_api_key = gr.Textbox(max_lines=1, type="password", label="Your OpenAI API Key")
|
119 |
whisper_tr = gr.Textbox(label="whisper english translation", elem_id="text_inp")
|
120 |
|
121 |
send_btn = gr.Button("Send my request !")
|