fffiloni commited on
Commit
86e6353
1 Parent(s): f9eb870

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -43,10 +43,12 @@ config.chunk_size = 2048
43
  config.flavor_intermediate_count = 512
44
  config.blip_num_beams = 64
45
 
46
- ci = Interrogator(config)
47
 
48
  @spaces.GPU
49
  def inference(image, mode, best_max_flavors):
 
 
50
  image = image.convert('RGB')
51
  if mode == 'best':
52
 
 
43
  config.flavor_intermediate_count = 512
44
  config.blip_num_beams = 64
45
 
46
+
47
 
48
  @spaces.GPU
49
  def inference(image, mode, best_max_flavors):
50
+ ci = Interrogator(config)
51
+
52
  image = image.convert('RGB')
53
  if mode == 'best':
54