Spaces:
Build error
Build error
Update app_dialogue.py
Browse files- app_dialogue.py +0 -5
app_dialogue.py
CHANGED
@@ -68,11 +68,6 @@ from PIL import Image
|
|
68 |
from PIL import Image
|
69 |
import tempfile
|
70 |
|
71 |
-
filename = f"{uuid.uuid4()}.jpg"
|
72 |
-
local_path = f"{filename}"
|
73 |
-
image.save(local_path)
|
74 |
-
img_str = f"![](/file={local_path})"
|
75 |
-
return img_str
|
76 |
|
77 |
def convert_to_rgb_pil(image):
|
78 |
print(f"***** convert_to_rgb_pil ******")
|
|
|
68 |
from PIL import Image
|
69 |
import tempfile
|
70 |
|
|
|
|
|
|
|
|
|
|
|
71 |
|
72 |
def convert_to_rgb_pil(image):
|
73 |
print(f"***** convert_to_rgb_pil ******")
|