Spaces:
Sleeping
Sleeping
en
Browse files
README.md
CHANGED
@@ -57,6 +57,7 @@ poetry publish
|
|
57 |
# Deploy to huggingface.
|
58 |
git remote add hf_en https://huggingface.co/spaces/groueix/copaint
|
59 |
git remote add hf_fr https://huggingface.co/spaces/groueix/copaint_fr
|
|
|
60 |
|
61 |
# change language in app.py
|
62 |
git push hf_en main
|
|
|
57 |
# Deploy to huggingface.
|
58 |
git remote add hf_en https://huggingface.co/spaces/groueix/copaint
|
59 |
git remote add hf_fr https://huggingface.co/spaces/groueix/copaint_fr
|
60 |
+
# to check remotes : git remote -v
|
61 |
|
62 |
# change language in app.py
|
63 |
git push hf_en main
|
app.py
CHANGED
@@ -13,7 +13,7 @@ def main():
|
|
13 |
parser.add_argument(
|
14 |
"-l", "--language",
|
15 |
type=str,
|
16 |
-
default="
|
17 |
choices=["en", "fr"],
|
18 |
help="Language to use (default: en)"
|
19 |
)
|
|
|
13 |
parser.add_argument(
|
14 |
"-l", "--language",
|
15 |
type=str,
|
16 |
+
default="en",
|
17 |
choices=["en", "fr"],
|
18 |
help="Language to use (default: en)"
|
19 |
)
|