xrdev commited on
Commit
7cc7b83
·
1 Parent(s): 2dfabad
Files changed (1) hide show
  1. app.py +46 -0
app.py ADDED
@@ -0,0 +1,46 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import io
2
+ import os
3
+ import re
4
+ from os import path
5
+
6
+ from setuptools import find_packages
7
+ from setuptools import setup
8
+
9
+
10
+ this_directory = path.abspath(path.dirname(__file__))
11
+ with open(path.join(this_directory, 'README.md'), encoding='utf-8') as f:
12
+ long_description = f.read()
13
+
14
+
15
+ setup(
16
+ name="mario-gpt",
17
+ version="0.1.3",
18
+ url="https://github.com/shyamsn97/mario-gpt",
19
+ license='MIT',
20
+
21
+ author="Shyam Sudhakaran",
22
+ author_email="[email protected]",
23
+
24
+ description="Generating Mario Levels with GPT2. Code for the paper: 'MarioGPT: Open-Ended Text2Level Generation through Large Language Models', https://arxiv.org/abs/2302.05981",
25
+
26
+ long_description=long_description,
27
+ long_description_content_type="text/markdown",
28
+
29
+ include_package_data = True,
30
+
31
+ packages=find_packages(exclude=('tests',)),
32
+
33
+ install_requires=[
34
+ 'torch',
35
+ 'transformers',
36
+ 'scipy',
37
+ 'tqdm',
38
+ 'pillow',
39
+ ],
40
+
41
+ classifiers=[
42
+ 'Development Status :: 2 - Pre-Alpha',
43
+ 'License :: OSI Approved :: MIT License',
44
+ 'Programming Language :: Python :: 3',
45
+ ],
46
+ )