p1atdev commited on
Commit
dcf90ca
·
verified ·
1 Parent(s): 4ebc352

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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,