Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -76,7 +76,7 @@ def demo():
|
|
76 |
def generate_tags(
|
77 |
text: str,
|
78 |
auto_detect: bool,
|
79 |
-
mode: str,
|
80 |
copyright_tags: str = "",
|
81 |
length: str = "short",
|
82 |
max_new_tokens: int = 128,
|
|
|
76 |
def generate_tags(
|
77 |
text: str,
|
78 |
auto_detect: bool,
|
79 |
+
mode: str = "translate",
|
80 |
copyright_tags: str = "",
|
81 |
length: str = "short",
|
82 |
max_new_tokens: int = 128,
|