Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
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(
|