Spaces:
Sleeping
Sleeping
|
Download README.md from awarefy/amp: direct link, hf CLI and curl.
- Browser
- Download file 1.1 kB
-
https://huggingface.co/spaces/awarefy/amp/resolve/main/README.md
- Command line
-
hf download hf://spaces/awarefy/amp/README.md
-
curl -L -o README.md https://huggingface.co/spaces/awarefy/amp/resolve/main/README.md
1.1 kB
A newer version of the Streamlit SDK is available: 1.66.0
metadata
title: マイクロアグレッション判別モデル
emoji: 🔥
colorFrom: pink
colorTo: pink
sdk: streamlit
sdk_version: 1.33.0
app_file: app.py
pinned: false
license: unknown
マイクロアグレッション判別モデル
技術要件
- Python 3.11
- Streamlit 1.33
仮想環境
venvを用いてインストールを行います。 venvは、Pythonの標準ライブラリです。
https://docs.python.org/ja/3/tutorial/venv.html
% cd (任意のフォルダ)
% python3 -m venv venv
% source venv/bin/activate
インストール
GitHubからパッケージをダウンロードしてインストール
(venv) % git clone https://github.com/awarefy/amp.git
(venv) % cd amp
(venv) % pip install -r requirements.txt -c constraints.txt
起動方法
(venv) % streamlit run app.py
表示確認
起動すると、デフォルトブラウザが立ち上がり表示確認ができる。
もし、ブラウザが立ち上がらない場合は、コンソールに表示されるポート付URLをブラウザで呼び出す。