sashavor commited on
Commit
bb63fba
1 Parent(s): d79806b

modifying app

Browse files
Files changed (1) hide show
  1. app.py +9 -0
app.py CHANGED
@@ -3,6 +3,15 @@ import random, os, shutil
3
  from PIL import Image
4
  import pandas as pd
5
  import tempfile
 
 
 
 
 
 
 
 
 
6
 
7
 
8
  def open_stable_ims(profession):
 
3
  from PIL import Image
4
  import pandas as pd
5
  import tempfile
6
+ import zipfile
7
+
8
+ with zipfile.ZipFile("images/fair_diffusion.zip","r") as zip_ref:
9
+ zip_ref.extractall("images/")
10
+
11
+
12
+ with zipfile.ZipFile("images/stable_diffusion.zip","r") as zip_ref:
13
+ zip_ref.extractall("images/")
14
+
15
 
16
 
17
  def open_stable_ims(profession):