Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -247,7 +247,7 @@ with gr.Blocks(css=css) as demo:
|
|
247 |
btn_submit = gr.Button("Translate")
|
248 |
|
249 |
with gr.Row():
|
250 |
-
user_token = gr.Textbox(value='', placeholder="OpenAI API Key", type="password", label="Enter your OpenAI API Key. Leave blank to use default key.
|
251 |
|
252 |
btn_submit.click(submit_message, [translateFrom, translateTo, user_token, input_message], [output])
|
253 |
|
|
|
247 |
btn_submit = gr.Button("Translate")
|
248 |
|
249 |
with gr.Row():
|
250 |
+
user_token = gr.Textbox(value='', placeholder="OpenAI API Key", type="password", label="Enter your OpenAI API Key. Leave blank to use default key.")
|
251 |
|
252 |
btn_submit.click(submit_message, [translateFrom, translateTo, user_token, input_message], [output])
|
253 |
|