Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
ihmily committed Jun 14, 2024
1 parent 19604b0 commit 4f352cc
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 12 deletions.
11 changes: 5 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ This project is actually a client that calls the interface. The model is not act

## How to Run

**Test Environment: Python 3.10(ubuntu22.04 RTX 4090)**
**Test Environment: Python 3.10(No computational power required)**

Pull or download the code

Expand All @@ -22,10 +22,10 @@ cd outfit-anyone
pip install -r requirements.txt
```

**Set up the environment variable**
~~**Set up the environment variable**~~

```
export OA_IP_ADDRESS=https://humanaigc-outfitanyone.hf.space/--replicas/5eyuf/
```

Run
Expand All @@ -37,14 +37,13 @@ python app.py
Success log

```
API: https://humanaigc-outfitanyone.hf.space/--replicas/5eyuf/
Loaded as API: https://humanaigc-outfitanyone.hf.space/--replicas/5eyuf/ ✔
Loaded as API: https://humanaigc-outfitanyone.hf.space ✔
Running on local URL: http://127.0.0.1:6006
```

Please visit http://127.0.0.1:6006 to web.

If the `OA_IP_ADDRESS` becomes invalid and causes issues with normal operation, please contact me for an update, or visit [OutfitAnyone - a Hugging Face Space by HumanAIGC](https://huggingface.co/spaces/HumanAIGC/OutfitAnyone) to obtain it yourself.
Visit [OutfitAnyone - a Hugging Face Space by HumanAIGC](https://huggingface.co/spaces/HumanAIGC/OutfitAnyone) Learn more.

## View Results

Expand Down
11 changes: 5 additions & 6 deletions README_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Outfit Anyone 的模型实际上并未开源,这个项目只是一个调用接

## 如何运行

**测试环境:** **Python 3.10(ubuntu22.04 RTX 4090)**
**测试环境:** **Python 3.10**

拉取或下载代码

Expand All @@ -22,10 +22,10 @@ cd outfit-anyone
pip install -r requirements.txt
```

**设置环境变量(重点)**
~~**设置环境变量(重点)*~~

```
export OA_IP_ADDRESS=https://humanaigc-outfitanyone.hf.space/--replicas/5eyuf/
```

运行
Expand All @@ -37,12 +37,11 @@ python app.py
启动成功后,web服务运行在6006端口。你将看到以下类似信息

```
API: https://humanaigc-outfitanyone.hf.space/--replicas/5eyuf/
Loaded as API: https://humanaigc-outfitanyone.hf.space/--replicas/5eyuf/ ✔
Loaded as API: https://humanaigc-outfitanyone.hf.space ✔
Running on local URL: http://127.0.0.1:6006
```

如果 `OA_IP_ADDRESS` 失效导致无法正常运行,请联系我更新 或者 访问[OutfitAnyone - a Hugging Face Space by HumanAIGC](https://huggingface.co/spaces/HumanAIGC/OutfitAnyone) 自行获取
访问 [OutfitAnyone - a Hugging Face Space by HumanAIGC](https://huggingface.co/spaces/HumanAIGC/OutfitAnyone) 了解更多



Expand Down

0 comments on commit 4f352cc

Please sign in to comment.