This pull request adds the CNN class for MNIST and integrates it into the main.py and api.py files. It also updates the import statements and removes unnecessary imports.
Summary
Added import statement for the CNN class from cnn.py in api.py
Updated import statements in api.py and main.py
Removed unnecessary imports in api.py and main.py
Replaced the Net class with the CNN class in main.py
Updated the model initialization in main.py
Replaced the model initialization in api.py with the CNN class
Description
This pull request adds the CNN class for MNIST and integrates it into the main.py and api.py files. It also updates the import statements and removes unnecessary imports.
Summary
Fixes #9.
🎉 Latest improvements to Sweep:
rope
library to refactor Python! Check out Large Language Models are Bad at Refactoring Code. To have Sweep refactor your code, trysweep: Refactor <your_file>.py
!💡 To get Sweep to edit this pull request, you can: