Update app.py
Browse files
app.py
CHANGED
|
@@ -1,3 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
# Copyright (c) 2025 Bytedance Ltd. and/or its affiliates. All rights reserved.
|
| 2 |
|
| 3 |
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
@@ -242,4 +248,4 @@ if __name__ == "__main__":
|
|
| 242 |
args = args_tuple[0]
|
| 243 |
|
| 244 |
demo = create_demo(args.name, args.device, args.offload)
|
| 245 |
-
demo.launch(server_port=args.port, ssr_mode=False)
|
|
|
|
| 1 |
+
'''
|
| 2 |
+
huggingface-cli login
|
| 3 |
+
|
| 4 |
+
python app.py --offload --name flux-dev-fp8
|
| 5 |
+
'''
|
| 6 |
+
|
| 7 |
# Copyright (c) 2025 Bytedance Ltd. and/or its affiliates. All rights reserved.
|
| 8 |
|
| 9 |
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
| 248 |
args = args_tuple[0]
|
| 249 |
|
| 250 |
demo = create_demo(args.name, args.device, args.offload)
|
| 251 |
+
demo.launch(server_port=args.port, ssr_mode=False, share = True)
|