Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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():
|