Last active
May 10, 2025 12:07
-
-
Save safa-dayo/d15c50fe8bce123fada3060cd94aee94 to your computer and use it in GitHub Desktop.
FramePackをGoogle Colabで試すためのノートブック
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#@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