Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -32,7 +32,7 @@ print(f"Argument 1: {arg1}")
|
|
32 |
print(f"Argument 2: {arg2}")
|
33 |
print(f"Total argument size: {num_args}")
|
34 |
|
35 |
-
if
|
36 |
# sys.argv[0] is the script name, sys.argv[1] is the first argument, etc.
|
37 |
runModel = arg1
|
38 |
print(f"Passed value: {runModel}")
|
|
|
32 |
print(f"Argument 2: {arg2}")
|
33 |
print(f"Total argument size: {num_args}")
|
34 |
|
35 |
+
if num_args > 1:
|
36 |
# sys.argv[0] is the script name, sys.argv[1] is the first argument, etc.
|
37 |
runModel = arg1
|
38 |
print(f"Passed value: {runModel}")
|