Spaces:
Runtime error
Runtime error
Update cli.py
Browse files- t5s/cli.py +6 -0
t5s/cli.py
CHANGED
@@ -44,6 +44,12 @@ class Run(object):
|
|
44 |
retval = os.getcwd()
|
45 |
print(retval)
|
46 |
return list_files.returncode
|
|
|
|
|
|
|
|
|
|
|
|
|
47 |
|
48 |
|
49 |
def parse_args(args):
|
|
|
44 |
retval = os.getcwd()
|
45 |
print(retval)
|
46 |
return list_files.returncode
|
47 |
+
elif arguments['command'] in cmd:
|
48 |
+
os.chdir('./summarization/')
|
49 |
+
retval = os.getcwd()
|
50 |
+
print(retval)
|
51 |
+
list_files = subprocess.run(["make", arguments["command"]])
|
52 |
+
return list_files.returncode
|
53 |
|
54 |
|
55 |
def parse_args(args):
|