hvoss-techfak commited on
Commit
7121f00
·
1 Parent(s): b7dfb35

description

Browse files
Files changed (1) hide show
  1. app.py +4 -1
app.py CHANGED
@@ -565,6 +565,9 @@ with gr.Blocks(theme=gr.themes.Soft()) as demo:
565
  gr.Markdown(
566
  'If you want to limit the number of colors or color swaps you can find the option under the "Autoforge Parameters" as "pruning_max_colors" and "pruning_max_swaps"'
567
  )
 
 
 
568
 
569
  with gr.Row():
570
  with gr.Column(scale=1):
@@ -897,4 +900,4 @@ if __name__ == "__main__":
897
  except Exception as e:
898
  print(f"Could not write default {DEFAULT_MATERIALS_CSV}: {e}")
899
  print("To run the UI, execute: python app.py") # Corrected to python app.py
900
- demo.queue(default_concurrency_limit=16).launch(share=False)
 
565
  gr.Markdown(
566
  'If you want to limit the number of colors or color swaps you can find the option under the "Autoforge Parameters" as "pruning_max_colors" and "pruning_max_swaps"'
567
  )
568
+ gr.Markdown(
569
+ 'Please note that huggingface enforces a maximum time of one minute. Depending on your configuration (especially iteration count) it is possible to exceed this time limit. In that case you will see a "GPU ABORTED" error.'
570
+ )
571
 
572
  with gr.Row():
573
  with gr.Column(scale=1):
 
900
  except Exception as e:
901
  print(f"Could not write default {DEFAULT_MATERIALS_CSV}: {e}")
902
  print("To run the UI, execute: python app.py") # Corrected to python app.py
903
+ demo.queue(default_concurrency_limit=8).launch(share=False)