Spaces:
Runtime error
Runtime error
menouar
commited on
Commit
·
3caf65d
1
Parent(s):
55ce514
Check the output_dir's value
Browse files
app.py
CHANGED
@@ -150,9 +150,10 @@ def generate_code(components: dict[Component, Any]):
|
|
150 |
warmup_ratio = get_value(components, WARMUP_RATIO_ID)
|
151 |
lr_scheduler_type = get_value(components, LR_SCHEDULER_TYPE_ID)
|
152 |
output_dir = get_value(components, OUTPUT_DIR_ID)
|
153 |
-
|
154 |
report_to = get_value(components, REPORT_TO_ID)
|
155 |
|
|
|
156 |
if not check_valid_input(output_dir):
|
157 |
gr.Warning("No output_dir is given")
|
158 |
|
|
|
150 |
warmup_ratio = get_value(components, WARMUP_RATIO_ID)
|
151 |
lr_scheduler_type = get_value(components, LR_SCHEDULER_TYPE_ID)
|
152 |
output_dir = get_value(components, OUTPUT_DIR_ID)
|
153 |
+
|
154 |
report_to = get_value(components, REPORT_TO_ID)
|
155 |
|
156 |
+
gr.Warning(f"{output_dir}")
|
157 |
if not check_valid_input(output_dir):
|
158 |
gr.Warning("No output_dir is given")
|
159 |
|