Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -63,6 +63,8 @@ pipeline, params = FlaxStableDiffusionPipeline.from_pretrained(
|
|
| 63 |
|
| 64 |
|
| 65 |
def text_to_image_and_image_to_text(text=None,image=None):
|
|
|
|
|
|
|
| 66 |
if image != None:
|
| 67 |
txt=text
|
| 68 |
if text !=None:
|
|
|
|
| 63 |
|
| 64 |
|
| 65 |
def text_to_image_and_image_to_text(text=None,image=None):
|
| 66 |
+
txt=None
|
| 67 |
+
img=None
|
| 68 |
if image != None:
|
| 69 |
txt=text
|
| 70 |
if text !=None:
|