zhiqiulin commited on
Commit
8b7f407
·
verified ·
1 Parent(s): 41bad47

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -19,6 +19,7 @@ def generate(model_name, image, text):
19
  print("Image:", image)
20
  print("Text:", text)
21
  model_pipe.to("cuda")
 
22
  return model_pipe(images=[image], texts=[text])
23
 
24
  iface = gr.Interface(
 
19
  print("Image:", image)
20
  print("Text:", text)
21
  model_pipe.to("cuda")
22
+ print("Generating!")
23
  return model_pipe(images=[image], texts=[text])
24
 
25
  iface = gr.Interface(