jonathanjordan21 commited on
Commit
b00b7b1
1 Parent(s): 69157c3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -8,6 +8,8 @@ from transformers import VitsModel, AutoTokenizer, pipeline
8
  import torch
9
  from transformers import pipeline
10
 
 
 
11
  text_cls = pipeline("text-classification", "ivanlau/language-detection-fine-tuned-on-xlm-roberta-base")
12
 
13
  model = VitsModel.from_pretrained("facebook/mms-tts-ind")
 
8
  import torch
9
  from transformers import pipeline
10
 
11
+ os.system("cat /etc/ImageMagick-6/policy.xml | sed 's/none/read,write/g'> /etc/ImageMagick-6/policy.xml")
12
+
13
  text_cls = pipeline("text-classification", "ivanlau/language-detection-fine-tuned-on-xlm-roberta-base")
14
 
15
  model = VitsModel.from_pretrained("facebook/mms-tts-ind")