Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -39,7 +39,7 @@ def gpt3(question,vqa_answer,caption):
|
|
39 |
response = openai.Completion.create(
|
40 |
engine="text-davinci-003",
|
41 |
prompt=prompt,
|
42 |
-
max_tokens=
|
43 |
n=1,
|
44 |
stop=None,
|
45 |
temperature=0.7,
|
|
|
39 |
response = openai.Completion.create(
|
40 |
engine="text-davinci-003",
|
41 |
prompt=prompt,
|
42 |
+
max_tokens=30,
|
43 |
n=1,
|
44 |
stop=None,
|
45 |
temperature=0.7,
|