Spaces:
Runtime error
Runtime error
Commit History
-
Refactor server.py to replace ProxyFix with ProxyHeadersMiddleware for improved proxy handling
Silicon Valley - Admin- Updated server.py to import ProxyHeadersMiddleware from Starlette and applied it to manage proxy headers. - Adjusted middleware configuration for better clarity and maintainability, ensuring compatibility with ASGI applications.ed02a4f -
Refactor server.py to replace ProxyHeadersMiddleware with ProxyFix for improved proxy handling
Silicon Valley - Admin- Updated server.py to import ProxyFix from werkzeug and applied it to manage proxy headers. - Adjusted parameters for ProxyFix to enhance compatibility with multiple proxies. - Streamlined middleware configuration for better clarity and maintainability.42efabf -
Refactor Dockerfile, hypercorn.toml, and server.py for improved security, static file handling, and session management
Silicon Valley - Admin- Updated Dockerfile to enhance security by creating a non-root user and adjusting file permissions. - Improved static file handling by copying necessary files and updating the structure for better organization. - Enhanced hypercorn.toml with server binding options and logging configurations. - Refactored server.py to streamline session management, including custom exceptions and improved logging. - Added new WebSocket endpoints for session handling and refined API response structures for better clarity.3f3db0e -
Enhance session management and Dockerfile for improved performance and security
Silicon Valley - Admin- Added session timeout management in broker.py to automatically clean up inactive sessions. - Updated Dockerfile to create a non-root user for enhanced security and adjusted file permissions. - Improved logging in server.py to handle exceptions and connection closures more effectively. - Enhanced hypercorn.toml with security and performance configurations, including timeouts and worker class settings.362d092 -
Refactor server.py to integrate OpenAPI specification and enhance middleware configuration
Silicon Valley - Admin- Updated QuartSchema initialization to include OpenAPI specification for improved API documentation. - Reorganized middleware setup for better clarity and maintainability. - Removed unused OpenAPI endpoint to streamline the codebase.26b4d36 -
Update Dockerfile and server.py to enhance static file handling and API routing
Silicon Valley - Admin- Created a structured directory for static files in the Dockerfile. - Copied Swagger UI and OpenAPI specification files into the static directory. - Renamed the root endpoint to improve clarity and added a new '/docs' endpoint for redirecting to the Swagger UI.1d7545f -
Enhance server.py and Dockerfile for improved API documentation and static file handling
Silicon Valley - Admin- Added a new static directory for serving Swagger UI files. - Introduced an endpoint to serve the Swagger UI and OpenAPI specification. - Updated requirements.txt to include PyYAML for YAML file handling. - Modified Dockerfile to create a directory for static files during the build process.53b7d1b -
Enhance server.py with CORS support, versioning, and health check endpoints
Silicon Valley - Admin- Added CORS configuration to allow requests from specified domains. - Introduced a version constant for the API to improve version management. - Expanded trusted hosts for better network access. - Implemented new root and health check endpoints for improved API usability. - Updated status endpoint to return the API version from the constant instead of using importlib.metadata.49a61bb -
Refactor server.py and update requirements.txt for enhanced functionality and logging
Silicon Valley - Admin- Simplified server.py by removing unused imports and restructuring configuration settings. - Introduced new data models for read and write operations, improving API clarity. - Enhanced logging to include remote addresses for better traceability of requests and responses. - Updated requirements.txt to include uvicorn for ASGI support, ensuring compatibility with the new server structure.76ca3e9 -
Update Dockerfile and requirements.txt for improved dependency management and server configuration
Silicon Valley - Admin- Upgraded pip before installing dependencies to ensure the latest version is used. - Changed the installation of pydantic from version 2.4.2 to 1.10.13 for compatibility. - Updated CMD in Dockerfile to use hypercorn with a configuration file for better server management.cce3030 -
Optimize Dockerfile for Hugging Face Spaces deployment and update server configuration
Silicon Valley - Admin- Refactored Dockerfile to improve caching and streamline the build process. - Added environment variables for configuration, including PORT and logging settings. - Updated server.py to utilize environment variables for configuration and improved logging. - Enhanced CORS settings to allow requests from Hugging Face Spaces domains. - Added werkzeug to requirements.txt for compatibility with the updated server implementation.c46d8cf -
Enhance Dockerfile, README, and server configuration for improved security and functionality
Silicon Valley - Admin- Added non-root user creation in Dockerfile for enhanced security. - Configured permissions and environment variables in Dockerfile. - Updated README.md to include security features, API endpoints, and local development instructions. - Expanded requirements.txt with additional packages for logging and monitoring. - Enhanced server.py with rate limiting and message size configuration for better performance.13c3439 -
Remove broker.py from Dockerfile COPY instructions to streamline application containerization
Silicon Valley - Admin3b3699d -
Refactor Dockerfile and server implementation for improved containerization and functionality
Silicon Valley - Admin- Updated Dockerfile to streamline the build process by removing the builder stage and directly installing dependencies from requirements.txt. - Configured Hypercorn to bind to port 7860 and added WebSocket settings in hypercorn.toml. - Enhanced README.md with updated server title, description, and API endpoints. - Added health check endpoint to server.py and enabled CORS for better client interaction. - Updated requirements.txt to include necessary packages for the application.3dde046 -
Add initial application files including server implementation, API specification, configuration, and ignore files
Silicon Valley - Admindd07930 -
Add Dockerfile for application containerization
Silicon Valley - Adminf0762d4 -
.gitignore added
Silicon Valley - Admincaa2cbe -
initial commit
Verified signature90d72d6