Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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("
|
|
|
|
|
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)
|