Spaces:
Running
Running
fix
Browse files- app.py +1 -1
- convert_model.py +1 -1
app.py
CHANGED
|
@@ -139,4 +139,4 @@ if __name__ == '__main__':
|
|
| 139 |
print(f" Error: {model_error}")
|
| 140 |
print(f" Open: http://localhost:7860")
|
| 141 |
print("=" * 50 + "\n")
|
| 142 |
-
app.run(host='0.0.0.0', port=
|
|
|
|
| 139 |
print(f" Error: {model_error}")
|
| 140 |
print(f" Open: http://localhost:7860")
|
| 141 |
print("=" * 50 + "\n")
|
| 142 |
+
app.run(host='0.0.0.0', port=7860, debug=False)
|
convert_model.py
CHANGED
|
@@ -95,4 +95,4 @@ for root, dirs, files in os.walk(str(OUTPUT_DIR)):
|
|
| 95 |
path = os.path.join(root, f)
|
| 96 |
size = os.path.getsize(path)
|
| 97 |
print(f" {os.path.relpath(path, str(OUTPUT_DIR))} ({size/1024/1024:.1f} MB)" if size > 1024*1024 else f" {os.path.relpath(path, str(OUTPUT_DIR))} ({size/1024:.1f} KB)")
|
| 98 |
-
print("\nYou can now run the website with just: npx serve . -p
|
|
|
|
| 95 |
path = os.path.join(root, f)
|
| 96 |
size = os.path.getsize(path)
|
| 97 |
print(f" {os.path.relpath(path, str(OUTPUT_DIR))} ({size/1024/1024:.1f} MB)" if size > 1024*1024 else f" {os.path.relpath(path, str(OUTPUT_DIR))} ({size/1024:.1f} KB)")
|
| 98 |
+
print("\nYou can now run the website with just: npx serve . -p 7860")
|