thewhole commited on
Commit
b5f67e7
1 Parent(s): d2f300d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -38,7 +38,9 @@ def main(prompt, iteration,CFG, seed):
38
  seed = int(seed)
39
  iteration = int(iteration)
40
  print('==> User Prompt:', prompt)
41
- timestamp = datetime.now().strftime("@%Y%m%d-%H%M%S")
 
 
42
  subprocess.run([
43
  f'python launch.py --config configs/gaussiandreamer-sd.yaml --train --gpu 0 system.prompt_processor.prompt="{prompt}" seed={seed} system.guidance.guidance_scale={CFG} trainer.max_steps={iteration} use_timestamp=False timestamp="{timestamp}" '],
44
  shell=True)
 
38
  seed = int(seed)
39
  iteration = int(iteration)
40
  print('==> User Prompt:', prompt)
41
+ timestamp = datetime.now().strftime("%Y%m%d-%H%M%S")
42
+ print('==> User Shell:', f'python launch.py --config configs/gaussiandreamer-sd.yaml --train --gpu 0 system.prompt_processor.prompt="{prompt}" seed={seed} system.guidance.guidance_scale={CFG} trainer.max_steps={iteration} use_timestamp=False timestamp="{timestamp}" ',)
43
+
44
  subprocess.run([
45
  f'python launch.py --config configs/gaussiandreamer-sd.yaml --train --gpu 0 system.prompt_processor.prompt="{prompt}" seed={seed} system.guidance.guidance_scale={CFG} trainer.max_steps={iteration} use_timestamp=False timestamp="{timestamp}" '],
46
  shell=True)