Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -7,7 +7,7 @@ import requests
|
|
7 |
API_URL = "https://api.openai.com/v1/chat/completions" #os.getenv("API_URL") + "/generate_stream"
|
8 |
|
9 |
#Testing with my Open AI Key
|
10 |
-
OPENAI_API_KEY = os.getenv("
|
11 |
|
12 |
def predict(inputs, top_p, temperature, chat_counter, chatbot=[], history=[]):
|
13 |
|
|
|
7 |
API_URL = "https://api.openai.com/v1/chat/completions" #os.getenv("API_URL") + "/generate_stream"
|
8 |
|
9 |
#Testing with my Open AI Key
|
10 |
+
OPENAI_API_KEY = os.getenv("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")
|
11 |
|
12 |
def predict(inputs, top_p, temperature, chat_counter, chatbot=[], history=[]):
|
13 |
|