Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -45,7 +45,7 @@ def gpt3_short(question,vqa_answer,caption):
|
|
45 |
response = openai.Completion.create(
|
46 |
engine="text-davinci-003",
|
47 |
prompt=prompt,
|
48 |
-
max_tokens=
|
49 |
n=1,
|
50 |
stop=None,
|
51 |
temperature=0.7,
|
|
|
45 |
response = openai.Completion.create(
|
46 |
engine="text-davinci-003",
|
47 |
prompt=prompt,
|
48 |
+
max_tokens=10,
|
49 |
n=1,
|
50 |
stop=None,
|
51 |
temperature=0.7,
|