Update app.py
Browse files
app.py
CHANGED
|
@@ -4,7 +4,7 @@ from gradio.components import Textbox
|
|
| 4 |
|
| 5 |
os.environ["http_proxy"] = "http://localhost:7890"
|
| 6 |
os.environ["https_proxy"] = "http://localhost:7890"
|
| 7 |
-
openai.api_key = '
|
| 8 |
|
| 9 |
messages = [
|
| 10 |
{"role": "system", "content": "You are a helpful and kind AI Assistant."},
|
|
|
|
| 4 |
|
| 5 |
os.environ["http_proxy"] = "http://localhost:7890"
|
| 6 |
os.environ["https_proxy"] = "http://localhost:7890"
|
| 7 |
+
openai.api_key = 'OPENAI_API_KEY'
|
| 8 |
|
| 9 |
messages = [
|
| 10 |
{"role": "system", "content": "You are a helpful and kind AI Assistant."},
|