Tycohs commited on
Commit
26926df
·
1 Parent(s): a4aa3ce

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -15,7 +15,7 @@ with gr.Blocks() as demo:
15
  apikey = gr.Textbox(label='Paste here your OpenAI - API key', info='No API key is stored and only you will see it.', lines = 1)
16
  openai.api_key = os.getenv('APICode2') # openai.api_key = apikey
17
  with gr.Column(scale = 1):
18
- useapi = gr.Button("Use this API")
19
  with gr.Row(visible = False) as fullblock:
20
  with gr.Tab("Enquiry Description"):
21
  with gr.Row():
 
15
  apikey = gr.Textbox(label='Paste here your OpenAI - API key', info='No API key is stored and only you will see it.', lines = 1)
16
  openai.api_key = os.getenv('APICode2') # openai.api_key = apikey
17
  with gr.Column(scale = 1):
18
+ useapi = gr.Button("Use this API key)
19
  with gr.Row(visible = False) as fullblock:
20
  with gr.Tab("Enquiry Description"):
21
  with gr.Row():