Spaces:
Runtime error
Runtime error
pip64 commited on
Commit ·
adff43b
1
Parent(s): c1ba3bc
test
Browse files
app.py
CHANGED
|
@@ -9,7 +9,7 @@ def infinitive(text):
|
|
| 9 |
newstr = ""
|
| 10 |
for word in words:
|
| 11 |
p = morph.parse(str(word))[0]
|
| 12 |
-
newstr += f"{p.normal_form}"
|
| 13 |
return newstr
|
| 14 |
|
| 15 |
iface = gr.Interface(fn=infinitive, inputs="text", outputs="text")
|
|
|
|
| 9 |
newstr = ""
|
| 10 |
for word in words:
|
| 11 |
p = morph.parse(str(word))[0]
|
| 12 |
+
newstr += f"{p.normal_form} "
|
| 13 |
return newstr
|
| 14 |
|
| 15 |
iface = gr.Interface(fn=infinitive, inputs="text", outputs="text")
|