Spaces:
Paused
Paused
Abdulrahman1989
commited on
Commit
·
60367c0
1
Parent(s):
2f8a737
Fix initial_image
Browse files
app.py
CHANGED
@@ -46,7 +46,7 @@ class GradioApp:
|
|
46 |
video_path = video_file.name
|
47 |
|
48 |
# Convert bytes to a PIL Image for further processing and display
|
49 |
-
initial_image = Image.open(io.BytesIO(
|
50 |
|
51 |
return initial_image, video_path
|
52 |
|
|
|
46 |
video_path = video_file.name
|
47 |
|
48 |
# Convert bytes to a PIL Image for further processing and display
|
49 |
+
initial_image = Image.open(io.BytesIO(initial_image))
|
50 |
|
51 |
return initial_image, video_path
|
52 |
|