Spaces:
Running
Running
Update appli.py
Browse files
appli.py
CHANGED
@@ -26,7 +26,7 @@ config.flavor_intermediate_count = 512
|
|
26 |
config.blip_num_beams = 64
|
27 |
ci = Interrogator(config)
|
28 |
|
29 |
-
|
30 |
def inference(image, mode, best_max_flavors):
|
31 |
image = image.convert('RGB')
|
32 |
if mode == 'best':
|
|
|
26 |
config.blip_num_beams = 64
|
27 |
ci = Interrogator(config)
|
28 |
|
29 |
+
#@spaces.GPU
|
30 |
def inference(image, mode, best_max_flavors):
|
31 |
image = image.convert('RGB')
|
32 |
if mode == 'best':
|