Spaces:
Sleeping
Sleeping
Yaron Koresh
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -99,7 +99,7 @@ def Piper(_do,neg):
|
|
99 |
|
100 |
@spaces.GPU(duration=25)
|
101 |
def tok(txt):
|
102 |
-
toks = pipe.
|
103 |
print(toks)
|
104 |
return toks
|
105 |
|
|
|
99 |
|
100 |
@spaces.GPU(duration=25)
|
101 |
def tok(txt):
|
102 |
+
toks = pipe.tokenizer(txt)['input_ids']
|
103 |
print(toks)
|
104 |
return toks
|
105 |
|