oliveirabruno01 commited on
Commit
2032808
·
1 Parent(s): 5e56e98

Hide api_key input text

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -76,7 +76,7 @@ def ai_response(api_key, input_text, shared_text, temperature):
76
 
77
 
78
  with gr.Blocks() as demo:
79
- api_input = gr.Textbox(label="Your OpenAI API key")
80
 
81
  user_input = gr.Textbox(lines=2, label="User Input")
82
  cot_textbox = gr.Textbox(label="CoT etc.")
 
76
 
77
 
78
  with gr.Blocks() as demo:
79
+ api_input = gr.Textbox(label="Your OpenAI API key", type="password")
80
 
81
  user_input = gr.Textbox(lines=2, label="User Input")
82
  cot_textbox = gr.Textbox(label="CoT etc.")