XFE Git
XFE Studio Git
Git 首页 全局搜索
XFE 主站 文档 NuGet
公开
关注 0 Fork 0 Star 0
返回提交历史

XFEstudio/gpt4free

Fix upload docx

6948ab9b
hlohaus <983577+hlohaus@users.noreply.github.com>
提交于

代码差异

1 个文件 +1 -1
Modified g4f/gui/server/backend_api.py +1 -1
@@ -378,7 +378,7 @@ class Backend_Api(Api):
378 378 except Exception as e:
379 379 logger.exception(e)
380 380 is_media = is_allowed_extension(filename)
381 is_supported = supports_filename(filename)
381 is_supported = result or supports_filename(filename)
382 382 if not is_media and not is_supported:
383 383 os.remove(copyfile)
384 384 continue