Spaces:
Running
Running
Commit
·
284eb09
1
Parent(s):
720f3e0
init
Browse files
app.py
CHANGED
|
@@ -69,7 +69,7 @@ country_dict = {
|
|
| 69 |
"it": ["意大利", "圣马力诺", "梵蒂冈"],
|
| 70 |
"ja": ["日本"],
|
| 71 |
"ru": ["俄罗斯"],
|
| 72 |
-
"ar": ["沙特阿拉伯", "埃及"],
|
| 73 |
"nl":["荷兰"],
|
| 74 |
"id":["印度尼西亚"]
|
| 75 |
}
|
|
@@ -1398,8 +1398,7 @@ def create_app():
|
|
| 1398 |
inputs=[input_image, prompt_input, lang_state],
|
| 1399 |
outputs=[output_image, status_output, action_buttons],
|
| 1400 |
show_progress=True,
|
| 1401 |
-
concurrency_limit=
|
| 1402 |
-
api_name="global_edit"
|
| 1403 |
)
|
| 1404 |
|
| 1405 |
def simple_use_as_input(output_img):
|
|
@@ -1475,8 +1474,7 @@ def create_app():
|
|
| 1475 |
inputs=[local_input_image, local_prompt_input, local_reference_image, lang_state],
|
| 1476 |
outputs=[local_output_image, local_status_output, local_action_buttons],
|
| 1477 |
show_progress=True,
|
| 1478 |
-
concurrency_limit=
|
| 1479 |
-
api_name="local_edit"
|
| 1480 |
)
|
| 1481 |
|
| 1482 |
def simple_local_use_as_input(output_img):
|
|
|
|
| 69 |
"it": ["意大利", "圣马力诺", "梵蒂冈"],
|
| 70 |
"ja": ["日本"],
|
| 71 |
"ru": ["俄罗斯"],
|
| 72 |
+
"ar": ["沙特阿拉伯", "埃及", "阿拉伯联合酋长国"],
|
| 73 |
"nl":["荷兰"],
|
| 74 |
"id":["印度尼西亚"]
|
| 75 |
}
|
|
|
|
| 1398 |
inputs=[input_image, prompt_input, lang_state],
|
| 1399 |
outputs=[output_image, status_output, action_buttons],
|
| 1400 |
show_progress=True,
|
| 1401 |
+
concurrency_limit=20
|
|
|
|
| 1402 |
)
|
| 1403 |
|
| 1404 |
def simple_use_as_input(output_img):
|
|
|
|
| 1474 |
inputs=[local_input_image, local_prompt_input, local_reference_image, lang_state],
|
| 1475 |
outputs=[local_output_image, local_status_output, local_action_buttons],
|
| 1476 |
show_progress=True,
|
| 1477 |
+
concurrency_limit=20
|
|
|
|
| 1478 |
)
|
| 1479 |
|
| 1480 |
def simple_local_use_as_input(output_img):
|