Spaces:
Runtime error
Runtime error
Commit
·
508f353
1
Parent(s):
680965d
Update app.py
Browse files
app.py
CHANGED
@@ -96,9 +96,10 @@ for cu_video in myList:
|
|
96 |
print(VideosNames)
|
97 |
|
98 |
def texttoSign(text):
|
99 |
-
|
100 |
text=text+" "
|
101 |
text=text.lower()
|
|
|
102 |
text=re.sub('[^a-z]+', ' ', text)
|
103 |
framescount=0
|
104 |
listofwords=parse_string(text,VideosNames)
|
@@ -110,7 +111,6 @@ def texttoSign(text):
|
|
110 |
|
111 |
index+=1
|
112 |
listofwords=flatten_lists(listofwords)
|
113 |
-
listofwords=apply_lemma_to_list(listofwords)
|
114 |
clips=[]
|
115 |
for i in range(len(listofwords)):
|
116 |
|
|
|
96 |
print(VideosNames)
|
97 |
|
98 |
def texttoSign(text):
|
99 |
+
|
100 |
text=text+" "
|
101 |
text=text.lower()
|
102 |
+
text=apply_lemma_to_string(text)
|
103 |
text=re.sub('[^a-z]+', ' ', text)
|
104 |
framescount=0
|
105 |
listofwords=parse_string(text,VideosNames)
|
|
|
111 |
|
112 |
index+=1
|
113 |
listofwords=flatten_lists(listofwords)
|
|
|
114 |
clips=[]
|
115 |
for i in range(len(listofwords)):
|
116 |
|