Spaces:
Sleeping
Sleeping
french default
Browse files
README.md
CHANGED
@@ -55,5 +55,9 @@ poetry publish
|
|
55 |
|
56 |
|
57 |
# Deploy to huggingface.
|
58 |
-
git remote add
|
59 |
-
git
|
|
|
|
|
|
|
|
|
|
55 |
|
56 |
|
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
|
63 |
+
git push hf_fr 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="fr",
|
17 |
choices=["en", "fr"],
|
18 |
help="Language to use (default: en)"
|
19 |
)
|