Spaces:
Runtime error
Runtime error
Commit ·
e8dd899
1
Parent(s): 7bbb0c6
Update app.py
Browse files
app.py
CHANGED
|
@@ -32,6 +32,7 @@ config_dict = OrderedDict([('swin-l-hdetr_sam-vit-b', 'projects/configs/hdetr/sw
|
|
| 32 |
def inference(img, config):
|
| 33 |
if img is None:
|
| 34 |
return None
|
|
|
|
| 35 |
config = config_dict[config]
|
| 36 |
cfg = Config.fromfile(config)
|
| 37 |
|
|
|
|
| 32 |
def inference(img, config):
|
| 33 |
if img is None:
|
| 34 |
return None
|
| 35 |
+
print(f"config: {config}")
|
| 36 |
config = config_dict[config]
|
| 37 |
cfg = Config.fromfile(config)
|
| 38 |
|