nabendu1 commited on
Commit
9e46d20
1 Parent(s): 1a03bae

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -44,7 +44,7 @@ def greet(mood,select_model,image):
44
  output = query({"inputs":mood}, select_model, image)
45
 
46
  if (select_model=="Text2Image"):
47
- from PIL import Image
48
  image = Image.open(io.BytesIO(output))
49
  else:
50
  print (str(output))
 
44
  output = query({"inputs":mood}, select_model, image)
45
 
46
  if (select_model=="Text2Image"):
47
+ from PIL import Image
48
  image = Image.open(io.BytesIO(output))
49
  else:
50
  print (str(output))