prateekbh commited on
Commit
24375e0
·
verified ·
1 Parent(s): 2a415e1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -65,7 +65,7 @@ def getProductDetails(history, image):
65
  yield history
66
 
67
  @torch.no_grad()
68
- def getImageDescription(image):
69
  message = "Generate a product title for the image"
70
  gr.Info('Starting...' + message)
71
  stop = StopOnTokens()
 
65
  yield history
66
 
67
  @torch.no_grad()
68
+ def getImageDescription(history, image):
69
  message = "Generate a product title for the image"
70
  gr.Info('Starting...' + message)
71
  stop = StopOnTokens()