1MR commited on
Commit
c1c3f85
·
verified ·
1 Parent(s): 6836176

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -99,7 +99,7 @@ async def predict_image_and_nutrition(file: UploadFile = File(...)):
99
  response = inference_client.post(
100
  json={
101
  "inputs": prompt,
102
- "parameters": {"max_new_tokens": 500},
103
  "task": "text-generation",
104
  },
105
  )
 
99
  response = inference_client.post(
100
  json={
101
  "inputs": prompt,
102
+ "parameters": {"max_new_tokens": 550},
103
  "task": "text-generation",
104
  },
105
  )