cutiee82 commited on
Commit
cdb4cfe
·
verified ·
1 Parent(s): 0805c18

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -32,7 +32,8 @@ def caption(image, prompt):
32
  ]
33
  }
34
  ],
35
- max_tokens=1024
 
36
  ):
37
  out += chunk.choices[0].delta.content
38
  yield out
 
32
  ]
33
  }
34
  ],
35
+ max_tokens=1024,
36
+ stream=True
37
  ):
38
  out += chunk.choices[0].delta.content
39
  yield out