Modal 自体のセットアップは以下の記事を参照
https://zenn.dev/cp20/articles/stable-diffusion-webui-with-modal
コスト高いのでやらなくていいと思う。
app_name
や 共有ボリューム名などは自由です。
Modal 自体のセットアップは以下の記事を参照
https://zenn.dev/cp20/articles/stable-diffusion-webui-with-modal
コスト高いのでやらなくていいと思う。
app_name
や 共有ボリューム名などは自由です。
参考: https://github.com/salesforce/LAVIS/tree/main/projects/blip2
キャプションつけるだけなら多分CPUでも動く?
チャットしたい場合は VRAM 64GB くらい必要になります。(ここではサポートしてない)
import requests | |
from bs4 import BeautifulSoup | |
import json | |
import argparse | |
base = "https://apps.apple.com" | |
def getLinkListJson(html): | |
soup = BeautifulSoup(html, 'html.parser') | |
shoebox = soup.find('script', {'id': 'shoebox-media-api-cache-apps'}).text |