MUTSC commited on
Commit
a85d628
·
verified ·
1 Parent(s): 56914ca

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -12,7 +12,7 @@ def generate_image(prompt):
12
  with torch.no_grad():
13
  image = model(prompt).images[0]
14
  # Convert to PIL Image to display in Gradio
15
- image = Image.fromarray(image.numpy())
16
  return image
17
 
18
  # Create a Gradio interface
 
12
  with torch.no_grad():
13
  image = model(prompt).images[0]
14
  # Convert to PIL Image to display in Gradio
15
+ #image = Image.fromarray(image.numpy())
16
  return image
17
 
18
  # Create a Gradio interface