akhaliq HF staff commited on
Commit
ac1366c
1 Parent(s): fe34371

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -9,7 +9,7 @@ os.chdir("projected_gan")
9
  os.mkdir("outputs")
10
 
11
 
12
- def inference(truncation,seeds):
13
  os.system("python gen_images.py --outdir=./outputs/ --seeds="+str(int(seeds))+" --network=https://s3.eu-central-1.amazonaws.com/avg-projects/projected_gan/models/pokemon.pkl")
14
  seeds = int(seeds)
15
  image = Image.open(f"./outputs/seed{seeds:04d}.png")
 
9
  os.mkdir("outputs")
10
 
11
 
12
+ def inference(seeds):
13
  os.system("python gen_images.py --outdir=./outputs/ --seeds="+str(int(seeds))+" --network=https://s3.eu-central-1.amazonaws.com/avg-projects/projected_gan/models/pokemon.pkl")
14
  seeds = int(seeds)
15
  image = Image.open(f"./outputs/seed{seeds:04d}.png")