hvoss-techfak commited on
Commit
6310258
·
1 Parent(s): 8df4053

zero gpu is extremely fast. Increasing the iterations again.

Browse files
Files changed (1) hide show
  1. app.py +1 -7
app.py CHANGED
@@ -151,7 +151,7 @@ def get_script_args_info(exclude_args=None):
151
  {
152
  "name": "--iterations",
153
  "type": "number",
154
- "default": 1000,
155
  "help": "Number of optimization iterations",
156
  },
157
  {
@@ -822,9 +822,6 @@ with gr.Blocks(theme=gr.themes.Soft()) as demo:
822
  run_output_dir_val, "final_model.png"
823
  )
824
 
825
- zip_base = os.path.join(
826
- run_output_dir_val, "autoforge_results"
827
- ) # ### ZIP PATCH
828
  zip_path = zip_dir_no_compress(
829
  run_output_dir_val,
830
  os.path.join(run_output_dir_val, "autoforge_results.zip"),
@@ -837,9 +834,6 @@ with gr.Blocks(theme=gr.themes.Soft()) as demo:
837
  hfp_path = os.path.join(run_output_dir_val, "project_file.hfp")
838
 
839
  out_png = png_path if os.path.exists(png_path) else None
840
- out_stl = stl_path if os.path.exists(stl_path) else None
841
- out_txt = txt_path if os.path.exists(txt_path) else None
842
- out_hfp = hfp_path if os.path.exists(hfp_path) else None
843
 
844
  if out_png is None:
845
  log_output += "\nWarning: final_model.png not found in output."
 
151
  {
152
  "name": "--iterations",
153
  "type": "number",
154
+ "default": 2000,
155
  "help": "Number of optimization iterations",
156
  },
157
  {
 
822
  run_output_dir_val, "final_model.png"
823
  )
824
 
 
 
 
825
  zip_path = zip_dir_no_compress(
826
  run_output_dir_val,
827
  os.path.join(run_output_dir_val, "autoforge_results.zip"),
 
834
  hfp_path = os.path.join(run_output_dir_val, "project_file.hfp")
835
 
836
  out_png = png_path if os.path.exists(png_path) else None
 
 
 
837
 
838
  if out_png is None:
839
  log_output += "\nWarning: final_model.png not found in output."