Spaces:
Runtime error
Runtime error
MaheshwariDantuluri
commited on
Commit
•
b001cd4
1
Parent(s):
26629a9
Update app.py
Browse files
app.py
CHANGED
@@ -29,7 +29,7 @@ class Chatbot:
|
|
29 |
return message
|
30 |
|
31 |
def create_bot(input):
|
32 |
-
bot = Chatbot(os.getenv("
|
33 |
|
34 |
# use moderations endpoint to check input
|
35 |
if input:
|
|
|
29 |
return message
|
30 |
|
31 |
def create_bot(input):
|
32 |
+
bot = Chatbot(os.getenv("sk-proj-izWrxKNpJzcpi7BLTAz1T3BlbkFJQKPvwCzS9GmWBwD0cPE3"), index=index)
|
33 |
|
34 |
# use moderations endpoint to check input
|
35 |
if input:
|