Spaces:
Sleeping
Sleeping
AFischer1985
commited on
Commit
•
2c5b242
1
Parent(s):
b47738b
Update app.py
Browse files
app.py
CHANGED
@@ -13,7 +13,7 @@ def solve(text):
|
|
13 |
eng=tDeEn(text)[0]["translation_text"]
|
14 |
out=bot(eng,max_length=50)[0]["generated_text"]
|
15 |
out=tEnDe(out)[0]["translation_text"]
|
16 |
-
return
|
17 |
|
18 |
task = gr.Interface(
|
19 |
fn=solve,
|
|
|
13 |
eng=tDeEn(text)[0]["translation_text"]
|
14 |
out=bot(eng,max_length=50)[0]["generated_text"]
|
15 |
out=tEnDe(out)[0]["translation_text"]
|
16 |
+
return out
|
17 |
|
18 |
task = gr.Interface(
|
19 |
fn=solve,
|