Skip to content

Commit f3c2d72

Browse files
authored
Update gradio/external.py
1 parent 2e1b365 commit f3c2d72

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gradio/external.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -801,7 +801,7 @@ def open_api_stream(
801801
for file_type in file_types:
802802
if file_type == "text_encoded":
803803
supported_extensions += TEXT_FILE_EXTENSIONS
804-
elif file_type == "text_encoded":
804+
elif file_type == "image":
805805
supported_extensions += IMAGE_FILE_EXTENSIONS
806806
else:
807807
raise ValueError(

0 commit comments

Comments
 (0)