Spaces:
Runtime error
Runtime error
Nitish Raghav
commited on
Commit
•
e4c3071
1
Parent(s):
cfba01d
Update gptcall.py
Browse files- gptcall.py +1 -1
gptcall.py
CHANGED
@@ -14,7 +14,7 @@ API_URL = config.get('API', 'OPEN_AI_URL')
|
|
14 |
# Set the OpenAI API key
|
15 |
openai.api_key = "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"
|
16 |
|
17 |
-
def generate(prompt
|
18 |
print(API_URL,API_KEY)
|
19 |
|
20 |
try:
|
|
|
14 |
# Set the OpenAI API key
|
15 |
openai.api_key = "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"
|
16 |
|
17 |
+
def generate(prompt):
|
18 |
print(API_URL,API_KEY)
|
19 |
|
20 |
try:
|