Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -2,7 +2,7 @@ import os
|
|
| 2 |
import openai
|
| 3 |
import gradio as gr
|
| 4 |
|
| 5 |
-
openai.api_key = os.
|
| 6 |
|
| 7 |
supportLanguages = [
|
| 8 |
["auto", "auto"],
|
|
|
|
| 2 |
import openai
|
| 3 |
import gradio as gr
|
| 4 |
|
| 5 |
+
openai.api_key = os.environ['OPENAI_KEY']
|
| 6 |
|
| 7 |
supportLanguages = [
|
| 8 |
["auto", "auto"],
|