mirror of
https://github.com/infiniflow/ragflow.git
synced 2025-12-08 12:32:30 +08:00
Refactor: QWenCV release temp path (#11122)
### What problem does this PR solve? QWenCV release temp path ### Type of change - [x] Refactoring
This commit is contained in:
@ -303,7 +303,9 @@ class QWenCV(GptV4):
|
||||
return call_api()
|
||||
except Exception as e2:
|
||||
raise RuntimeError(f"Both default and intl endpoint failed.\nFirst error: {e1}\nSecond error: {e2}")
|
||||
|
||||
finally:
|
||||
if tmp_path and tmp_path.exists():
|
||||
tmp_path.unlink()
|
||||
|
||||
|
||||
class HunyuanCV(GptV4):
|
||||
|
||||
Reference in New Issue
Block a user