Spaces:
Sleeping
Sleeping
test: remove unsupported param
Browse files
app.py
CHANGED
@@ -725,10 +725,7 @@ if __name__ == "__main__":
|
|
725 |
server_port=7860,
|
726 |
share=False,
|
727 |
show_error=True,
|
728 |
-
max_threads=min(16, psutil.cpu_count())
|
729 |
-
websocket_ping_timeout=60,
|
730 |
-
preventive_refresh=True,
|
731 |
-
memory_limit_mb=int(total_ram_gb * 1024 * 0.8) # Use up to 80% of RAM
|
732 |
)
|
733 |
except Exception as e:
|
734 |
print(f"Critical error during startup: {e}")
|
|
|
725 |
server_port=7860,
|
726 |
share=False,
|
727 |
show_error=True,
|
728 |
+
max_threads=min(16, psutil.cpu_count())
|
|
|
|
|
|
|
729 |
)
|
730 |
except Exception as e:
|
731 |
print(f"Critical error during startup: {e}")
|