Skip to content

Conversation

@NEXTAltair
Copy link

Gradio最新版への対応による画像処理の互換性更新

Compatibility update for latest Gradio version image processing

変更内容 / Changes

  • 画像の一時ファイル管理方法を更新
  • Updated temporary file management for images
    • Gradioの新仕様に合わせて一時ファイルの保存と管理方法を変更
    • Modified temporary file saving and management to match new Gradio specifications
    • 画像ギャラリーでのファイルパス処理を修正
    • Fixed file path handling in image gallery component

動作確認環境 / Test Environment

  • Windows 11
  • Python 3.12.4
  • Torch 2.5.1+cu118

参考実装 / Reference Implementation

@MeteorEmber
Copy link

MeteorEmber commented Jul 11, 2025

Though this PR is not getting reviews, I just want to thank you for this covenient change.

Since I have a shared python venv across multiple lora training repos, I definitely don't want every repo having its own venv, which takes several gigabytes per repo...
And that many repos use gradio, with different specific version, you know. It's kinda messy.

I've tested this with python 3.11.9, didn't encounter errors yet. Hope this will be merged!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants