Mohamed41 commited on
Commit
81c3e39
·
1 Parent(s): 6a84562

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +2 -2
main.py CHANGED
@@ -1,6 +1,6 @@
1
  import tensorflow as tf
2
  from transformers import pipeline
3
- #from huggingface_hub import from_pretrained_keras
4
  import pandas as pd
5
  import numpy as np
6
  import joblib
@@ -41,7 +41,7 @@ if not sys.warnoptions:
41
  warnings.simplefilter("ignore")
42
  warnings.filterwarnings("ignore", category=DeprecationWarning)
43
 
44
- model = pipeline('audio-classify', model='Mohamed41/MODEL_EMOTION_AR_TEXT_72P')
45
 
46
 
47
  def feat_ext(data):
 
1
  import tensorflow as tf
2
  from transformers import pipeline
3
+ from huggingface_hub import from_pretrained_keras
4
  import pandas as pd
5
  import numpy as np
6
  import joblib
 
41
  warnings.simplefilter("ignore")
42
  warnings.filterwarnings("ignore", category=DeprecationWarning)
43
 
44
+ model=from_pretrained_keras( 'Mohamed41/MODEL_EMOTION_AR_TEXT_72P')
45
 
46
 
47
  def feat_ext(data):