Skip to content

Instantly share code, notes, and snippets.

@safa-dayo
Last active May 10, 2025 12:07
Show Gist options
  • Save safa-dayo/d15c50fe8bce123fada3060cd94aee94 to your computer and use it in GitHub Desktop.
Save safa-dayo/d15c50fe8bce123fada3060cd94aee94 to your computer and use it in GitHub Desktop.
FramePackをGoogle Colabで試すためのノートブック
#@title FramePack を Colab で動かすためのスクリプト
# URL: https://github.com/red-polo/FramePackLoop
!git clone https://github.com/lllyasviel/FramePack.git
%cd FramePack
!pip install -r requirements.txt
#@markdown ---
#@markdown ### 実行するUIを選択
command_to_run = "通常モード" #@param ["通常モード", "F1モード"]
if command_to_run == "通常モード":
print("通常モードで実行します。")
!python demo_gradio.py --share
elif command_to_run == "F1モード":
print("F1モードで実行します。")
!python demo_gradio_f1.py --share
else:
print("有効なコマンドが選択されていません。")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment