Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
@@ -28,7 +28,7 @@ model_engine = "davinci"
|
|
28 |
prompt_length = len(prompt)
|
29 |
max_tokens = 1024 - prompt_length
|
30 |
temperature = 0.7
|
31 |
-
#
|
32 |
response = openai.Completion.create(
|
33 |
engine=model_engine,
|
34 |
prompt=prompt,
|
|
|
28 |
prompt_length = len(prompt)
|
29 |
max_tokens = 1024 - prompt_length
|
30 |
temperature = 0.7
|
31 |
+
#generăm răspunsul folosind OpenAI API
|
32 |
response = openai.Completion.create(
|
33 |
engine=model_engine,
|
34 |
prompt=prompt,
|