Spaces:
Sleeping
Sleeping
Commit History
-
Refactor app.py to enhance MCQ generation and error handling. Introduced logging for better traceability, improved file upload validation, and updated model names for consistency. Enhanced the parsing logic for MCQs and refined error management during document comparison. Overall, these changes improve code maintainability and robustness.
4ee6059 -
Fix route decorator syntax in app.py for the index function. This change ensures proper routing for the main page, enhancing the application's functionality.
679777f -
Refactor app.py and dvd_evaluator.py to enhance MCQ generation and error handling. Updated the generate_mcqs_for_note function to accept an optional API key, improving flexibility for external API usage. Cleaned up import statements and removed redundant debug prints, while ensuring consistent model naming. Enhanced error management for loading criteria and improved overall code structure for better maintainability.
ce7e3de -
Enhance app.py with debugging features for MCQ generation and improve Dockerfile setup. Added debug prints for current working directory and files, along with a new debug wrapper for MCQ generation to capture errors. Updated Dockerfile to include __init__.py and set proper permissions for files, ensuring a smoother build process.
24a9aab -
Clean up app.py by removing unnecessary whitespace and ensuring consistent formatting. This minor adjustment improves code readability without altering functionality.
85a2894 -
Refactor app.py to improve module import handling and error reporting. Added current directory to Python path for better module accessibility. Implemented try-except block for importing dvd_evaluator, enhancing robustness by providing clear error messages and exiting gracefully on failure.
bacf4fe -
Update app.py to correct model names in token estimation and MCQ processing functions. Change model from "gpt-4o" to "gpt-4" in token estimation and from "gpt-4" to "gpt-4o-mini" in MCQ processing. This ensures consistency in model usage across the application.
fd5d9f1 -
Refactor app.py to enhance document comparison and MCQ generation capabilities. Introduce environment variable loading, improve file upload validation, and implement robust error handling. Update MCQ generation logic to ensure accurate parsing and response handling. Enhance overall code structure for better maintainability and clarity.
2834836 -
adjust
20ba65d -
Refactor app.py to improve document comparison functionality, adding error handling for file uploads and template rendering. Introduce a new endpoint for comparing documents and generating MCQs based on their content. Update error handling for loading configuration files. Ensure the application maintains robust responses for various input scenarios.
c34ea88 -
Refactor app.py to enhance functionality with Flask, integrating document evaluation features and file upload capabilities. Update README.md to reflect changes in the technical stack and environment setup. Adjust requirements.txt for specific library versions to ensure compatibility.
adc864f -
updated requirements
5f696d0 -
Refactor app.py to integrate Gradio for Hugging Face Spaces, replacing Flask's direct handling. Update README.md to reflect new features and environment setup. Adjust requirements.txt for compatibility with updated libraries.
2402952 -
updated readme
95040d1 -
Enhance project configuration: Updated .gitignore to include more file types, modified Dockerfile for improved structure and environment variable handling, and revised README.md to provide comprehensive project details and usage instructions. The application now consistently listens on port 7860 across all components.
d7e8f11 -
Update .gitignore to exclude additional files and modify Dockerfile to change exposed port and entrypoint. Now listening on port 7860 instead of 5000.
95722da -
Refactor app.py to remove embedded HTML and update README.md for project title and SDK changes. The app now runs on a specified port for deployment.
3a8c308 -
add README.md
86ca074 -
Remove README files for the Dvd Evaluator project
61fdf30 -
listen at 5000
762ab2b -
Initial commit
a5c142f -
Merge branch 'main' of https://huggingface.co/spaces/iyadsultan/dvd_evaluator
b37c99e -
initial commit
Verified signatureafe7d54 -
Initial commit for DVD application
31d72a3