You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "F:\CogVLM2_v4\venv\lib\site-packages\gradio\queueing.py", line 625, in process_events
response = await route_utils.call_process_api(
File "F:\CogVLM2_v4\venv\lib\site-packages\gradio\route_utils.py", line 322, in call_process_api
output = await app.get_blocks().process_api(
File "F:\CogVLM2_v4\venv\lib\site-packages\gradio\blocks.py", line 2038, in process_api
inputs = await self.preprocess_data(
File "F:\CogVLM2_v4\venv\lib\site-packages\gradio\blocks.py", line 1733, in preprocess_data
processed_input.append(block.preprocess(inputs_cached))
File "F:\CogVLM2_v4\venv\lib\site-packages\gradio\components\image.py", line 210, in preprocess
im = PIL.Image.open(file_path)
File "F:\CogVLM2_v4\venv\lib\site-packages\PIL\Image.py", line 3298, in open
raise UnidentifiedImageError(msg)
PIL.UnidentifiedImageError: cannot identify image file 'C:\\Users\\Furkan\\AppData\\Local\\Temp\\gradio\\49ffd6af56c94f280c7ab1b75ab44501673d0c211fbc7f340bece24783f03346\\NationalGeographic_2760047_3x4.avif'
gradio==5.12.0
Severity
Blocking usage of gradio
The image is valid and Gradio displays it
The text was updated successfully, but these errors were encountered:
Can we make Gradio to convert uploaded .avif into PNG?
This is how I am getting the image file
image_prompt = gr.Image(type="pil", label="Image Prompt", height=500)
error
gradio==5.12.0
Severity
Blocking usage of gradio
The image is valid and Gradio displays it
The text was updated successfully, but these errors were encountered: