Commit
·
51e5f45
1
Parent(s):
20283f2
up
Browse files
app.py
CHANGED
@@ -14,7 +14,6 @@ from transformers.models.auto.modeling_auto import (
|
|
14 |
MODEL_FOR_SPEECH_SEQ_2_SEQ_MAPPING_NAMES,
|
15 |
MODEL_FOR_VISION_2_SEQ_MAPPING_NAMES,
|
16 |
MODEL_FOR_INSTANCE_SEGMENTATION_MAPPING_NAMES,
|
17 |
-
MODEL_FOR_VIDEO_CLASSIFICATION_MAPPING_NAMES,
|
18 |
MODEL_FOR_SEMANTIC_SEGMENTATION_MAPPING_NAMES,
|
19 |
MODEL_FOR_IMAGE_CLASSIFICATION_MAPPING_NAMES,
|
20 |
MODEL_FOR_CAUSAL_IMAGE_MODELING_MAPPING_NAMES,
|
@@ -23,7 +22,7 @@ from transformers.models.auto.modeling_auto import (
|
|
23 |
|
24 |
audio_models = MODEL_FOR_CTC_MAPPING_NAMES.keys() + MODEL_FOR_AUDIO_CLASSIFICATION_MAPPING_NAMES.keys() + MODEL_FOR_SPEECH_SEQ_2_SEQ_MAPPING_NAMES.keys()
|
25 |
|
26 |
-
vision_models = MODEL_FOR_VISION_2_SEQ_MAPPING_NAMES.keys() + MODEL_FOR_INSTANCE_SEGMENTATION_MAPPING_NAMES.keys() +
|
27 |
|
28 |
today = datetime.date.today()
|
29 |
year, week, _ = today.isocalendar()
|
|
|
14 |
MODEL_FOR_SPEECH_SEQ_2_SEQ_MAPPING_NAMES,
|
15 |
MODEL_FOR_VISION_2_SEQ_MAPPING_NAMES,
|
16 |
MODEL_FOR_INSTANCE_SEGMENTATION_MAPPING_NAMES,
|
|
|
17 |
MODEL_FOR_SEMANTIC_SEGMENTATION_MAPPING_NAMES,
|
18 |
MODEL_FOR_IMAGE_CLASSIFICATION_MAPPING_NAMES,
|
19 |
MODEL_FOR_CAUSAL_IMAGE_MODELING_MAPPING_NAMES,
|
|
|
22 |
|
23 |
audio_models = MODEL_FOR_CTC_MAPPING_NAMES.keys() + MODEL_FOR_AUDIO_CLASSIFICATION_MAPPING_NAMES.keys() + MODEL_FOR_SPEECH_SEQ_2_SEQ_MAPPING_NAMES.keys()
|
24 |
|
25 |
+
vision_models = MODEL_FOR_VISION_2_SEQ_MAPPING_NAMES.keys() + MODEL_FOR_INSTANCE_SEGMENTATION_MAPPING_NAMES.keys() + MODEL_FOR_SEMANTIC_SEGMENTATION_MAPPING_NAMES.keys() + MODEL_FOR_IMAGE_CLASSIFICATION_MAPPING_NAMES.keys() + MODEL_FOR_CAUSAL_IMAGE_MODELING_MAPPING_NAMES.keys() + MODEL_FOR_MASKED_IMAGE_MODELING_MAPPING_NAMES.keys()
|
26 |
|
27 |
today = datetime.date.today()
|
28 |
year, week, _ = today.isocalendar()
|