Update app.py
Browse files
app.py
CHANGED
|
@@ -50,8 +50,8 @@ if uploaded_file is not None:
|
|
| 50 |
return stdout, stderr
|
| 51 |
|
| 52 |
# Command execution
|
| 53 |
-
st.write(f"Running command: python ./DSRNet/test_sirs.py --inet {MODEL_NAME} --model {MODEL_PATH} --dataset {DATASET} --name {NAME} --hyper --if_align --base_dir
|
| 54 |
-
stdout, stderr = run_command(f"python ./DSRNet/test_sirs.py --inet {MODEL_NAME} --model {MODEL_PATH} --dataset {DATASET} --name {NAME} --hyper --if_align --base_dir
|
| 55 |
|
| 56 |
# Display command output
|
| 57 |
st.write("Command Output:")
|
|
|
|
| 50 |
return stdout, stderr
|
| 51 |
|
| 52 |
# Command execution
|
| 53 |
+
st.write(f"Running command: python ./DSRNet/test_sirs.py --inet {MODEL_NAME} --model {MODEL_PATH} --dataset {DATASET} --name {NAME} --hyper --if_align --base_dir {BASE_DIR} --resume --weight_path {WEIGHT_PATH}'")
|
| 54 |
+
stdout, stderr = run_command(f"python ./DSRNet/test_sirs.py --inet {MODEL_NAME} --model {MODEL_PATH} --dataset {DATASET} --name {NAME} --hyper --if_align --base_dir {BASE_DIR} --resume --weight_path {WEIGHT_PATH}'")
|
| 55 |
|
| 56 |
# Display command output
|
| 57 |
st.write("Command Output:")
|