HotshotGoku commited on
Commit
1f78597
·
1 Parent(s): aa4569e

changed display res of demo_

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -26,7 +26,7 @@ real_files = [hf_hub_download(repo_id=REPO_ID, repo_type="dataset",filename=path
26
 
27
  # Load a sample real image for the demo
28
  real_demo_path= hf_hub_download(repo_id=REPO_ID, repo_type="dataset",filename="Experiment_grid_3x3.png", token=HF_TOKEN)
29
- real_demo = np.array(Image.open(real_demo_path).convert("RGB"))
30
 
31
  real_demo.thumbnail((300, 300), resample=Image.LANCZOS) # now ≤300×300
32
 
 
26
 
27
  # Load a sample real image for the demo
28
  real_demo_path= hf_hub_download(repo_id=REPO_ID, repo_type="dataset",filename="Experiment_grid_3x3.png", token=HF_TOKEN)
29
+ real_demo = Image.open(real_demo_path).convert("RGB")
30
 
31
  real_demo.thumbnail((300, 300), resample=Image.LANCZOS) # now ≤300×300
32