Skip to content

Commit

Permalink
add more test + structure
Browse files Browse the repository at this point in the history
  • Loading branch information
Mirtia committed Jul 10, 2023
1 parent a2613e7 commit f62d826
Show file tree
Hide file tree
Showing 11 changed files with 12 additions and 2 deletions.
Empty file removed input/wikiart_input
Empty file.
10 changes: 10 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
aiohttp==3.8.4
beautifulsoup4==4.10.0
Google_Images_Search==1.4.6
imageai==3.0.3
Pillow==9.5.0
python-dotenv==1.0.0
RealESRGAN==1.0
RealESRGAN==0.3.0
Requests==2.31.0
torch==2.0.1+cu118
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions main.py → src/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ def main():
parser.add_argument("-c", "--crawl", action="store_true", help="Enable crawling")
parser.add_argument("-t", "--train", action="store_true", help="Train model")
parser.add_argument("-i", "--input", dest="input", help="Specify input image to test model")
parser.add_argument("-f", "--file", dest="file", help="Specify input file", required=True)
parser.add_argument("-o", "--output", dest="output", help="Specify output file", required=True)
parser.add_argument("-f", "--file", dest="file", help="Specify input file")
parser.add_argument("-o", "--output", dest="output", help="Specify output file")
args = parser.parse_args()

if args.crawl:
Expand Down
File renamed without changes.
File renamed without changes.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added tests/my_artwork.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added tests/waterhouse_pre-rphaelite.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit f62d826

Please sign in to comment.