Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -38,8 +38,8 @@ class StopOnTokens(StoppingCriteria):
|
|
38 |
return False
|
39 |
|
40 |
def getProductDetails(history, image):
|
41 |
-
|
42 |
-
|
43 |
# rand_val = random.randint(1, 1111111111111111)
|
44 |
if not history:
|
45 |
history = []
|
|
|
38 |
return False
|
39 |
|
40 |
def getProductDetails(history, image):
|
41 |
+
product_description=getImageDescription(image)
|
42 |
+
clients = InferenceClient("google/gemma-7b")
|
43 |
# rand_val = random.randint(1, 1111111111111111)
|
44 |
if not history:
|
45 |
history = []
|