Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
@@ -23,7 +23,7 @@ def generate_response(prompt):
|
|
23 |
# procesăm promptul
|
24 |
prompt = parse_text(prompt)
|
25 |
# configurăm OpenAI API
|
26 |
-
openai.api_key = "
|
27 |
model_engine = "davinci"
|
28 |
prompt_length = len(prompt)
|
29 |
max_tokens = 1024 - prompt_length
|
|
|
23 |
# procesăm promptul
|
24 |
prompt = parse_text(prompt)
|
25 |
# configurăm OpenAI API
|
26 |
+
openai.api_key = "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"
|
27 |
model_engine = "davinci"
|
28 |
prompt_length = len(prompt)
|
29 |
max_tokens = 1024 - prompt_length
|