Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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()
|