prateekbh commited on
Commit
3cbdd0d
·
verified ·
1 Parent(s): 373b3b1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -38,8 +38,8 @@ class StopOnTokens(StoppingCriteria):
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 = []
 
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 = []