shukdevdatta123 commited on
Commit
59ead9f
·
verified ·
1 Parent(s): 622db0f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -72,7 +72,7 @@ def generate_image_response(input_text, image, openai_api_key, model_choice):
72
  ]
73
  }
74
  ],
75
- max_tokens=2000
76
  )
77
  return response.choices[0].message.content
78
  except Exception as e:
 
72
  ]
73
  }
74
  ],
75
+ max_completion_tokens=2000
76
  )
77
  return response.choices[0].message.content
78
  except Exception as e: