merve HF Staff commited on
Commit
019c1d0
·
1 Parent(s): 98e50cb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -1,5 +1,5 @@
1
  import gradio as gr
2
- import PIL
3
 
4
  # inference function takes prompt, negative prompt and image
5
  def infer(prompt, negative_prompt, image):
 
1
  import gradio as gr
2
+ from PIL import Image
3
 
4
  # inference function takes prompt, negative prompt and image
5
  def infer(prompt, negative_prompt, image):