Spaces:
Runtime error
Runtime error
Ii
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -5,7 +5,7 @@ import ngrok
|
|
5 |
|
6 |
parser = argparse.ArgumentParser(description='Refacer')
|
7 |
parser.add_argument("--max_num_faces", type=int, help="Max number of faces on UI", default=5)
|
8 |
-
parser.add_argument(
|
9 |
parser.add_argument("--share_gradio", help="Share Gradio", default=False, action="store_true")
|
10 |
parser.add_argument("--server_name", type=str, help="Server IP address", default="127.0.0.1")
|
11 |
parser.add_argument("--server_port", type=int, help="Server port", default=7860)
|
|
|
5 |
|
6 |
parser = argparse.ArgumentParser(description='Refacer')
|
7 |
parser.add_argument("--max_num_faces", type=int, help="Max number of faces on UI", default=5)
|
8 |
+
parser.add_argument(-force_cpu", help="Force CPU mode", default=False, action="store_true")
|
9 |
parser.add_argument("--share_gradio", help="Share Gradio", default=False, action="store_true")
|
10 |
parser.add_argument("--server_name", type=str, help="Server IP address", default="127.0.0.1")
|
11 |
parser.add_argument("--server_port", type=int, help="Server port", default=7860)
|