hvoss-techfak commited on
Commit
0531be0
·
1 Parent(s): 4fddc2b

version bump

Browse files
Files changed (2) hide show
  1. app.py +3 -1
  2. requirements.txt +1 -2
app.py CHANGED
@@ -1,3 +1,5 @@
 
 
1
  import gradio as gr
2
  import pandas as pd
3
  import os
@@ -550,7 +552,7 @@ with gr.Blocks(theme=gr.themes.Soft()) as demo:
550
  gr.Error("Input Image is required! Please upload an image.")
551
  return create_empty_error_outputs("Error: Input Image is required!")
552
 
553
- timestamp = datetime.now().strftime("%Y%m%d_%H%M%S")
554
  run_output_dir_val = os.path.join(GRADIO_OUTPUT_BASE_DIR, f"run_{timestamp}")
555
  os.makedirs(run_output_dir_val, exist_ok=True)
556
  current_run_output_dir.value = run_output_dir_val
 
1
+ import uuid
2
+
3
  import gradio as gr
4
  import pandas as pd
5
  import os
 
552
  gr.Error("Input Image is required! Please upload an image.")
553
  return create_empty_error_outputs("Error: Input Image is required!")
554
 
555
+ timestamp = datetime.now().strftime("%Y%m%d_%H%M%S") + "_" + str(uuid.uuid4())
556
  run_output_dir_val = os.path.join(GRADIO_OUTPUT_BASE_DIR, f"run_{timestamp}")
557
  os.makedirs(run_output_dir_val, exist_ok=True)
558
  current_run_output_dir.value = run_output_dir_val
requirements.txt CHANGED
@@ -1,2 +1 @@
1
- autoforge
2
- gradio
 
1
+ autoforge==1.7.1