B2gan commited on
Commit
499f04f
1 Parent(s): 6734e67

Add application file

Browse files
__pycache__/ai_functions.cpython-311.pyc ADDED
Binary file (3.47 kB). View file
 
main.py → app.py RENAMED
@@ -32,8 +32,8 @@ def verify_api_key(api_key):
32
  with gr.Blocks() as app:
33
  with gr.Tab("OpenAI API Settings"):
34
  with gr.Row():
35
- api_key_input = gr.Textbox(label="OpenAI API Key",password=True)
36
- api_key_ioutput = gr.Textbox(label="OpenAI API isn't verified yet. Please enter the password to verify.",interactive=False)
37
  Verify_button = gr.Button("Verify")
38
 
39
  Verify_button.click(
 
32
  with gr.Blocks() as app:
33
  with gr.Tab("OpenAI API Settings"):
34
  with gr.Row():
35
+ api_key_input = gr.Textbox(label="OpenAI API Key")
36
+ api_key_ioutput = gr.Textbox(label="Info",interactive=False)
37
  Verify_button = gr.Button("Verify")
38
 
39
  Verify_button.click(