Spaces:
Running
Running
update app.py
Browse files
README.md
CHANGED
@@ -11,3 +11,11 @@ license: mit
|
|
11 |
---
|
12 |
|
13 |
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
11 |
---
|
12 |
|
13 |
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
14 |
+
|
15 |
+
Downloads model assets from **pixai-labs/pixai-tagger-v0.9** on first run,
|
16 |
+
then uses `EndpointHandler` to predict **general**, **character**, and **IP** tags.
|
17 |
+
|
18 |
+
Configure via env vars:
|
19 |
+
- `ASSETS_REPO_ID` (default: `pixai-labs/pixai-tagger-v0.9`)
|
20 |
+
- `ASSETS_REVISION` (optional)
|
21 |
+
- `MODEL_DIR` (default: `./assets`)
|
app.py
CHANGED
@@ -181,13 +181,6 @@ with gr.Blocks(title="PixAI Tagger v0.9 β Demo", fill_height=True, theme=theme
|
|
181 |
gr.Markdown(
|
182 |
"""
|
183 |
# PixAI Tagger v0.9 β Gradio Demo
|
184 |
-
Downloads model assets from **pixai-labs/pixai-tagger-v0.9** on first run,
|
185 |
-
then uses your imported `EndpointHandler` to predict **general**, **character**, and **IP** tags.
|
186 |
-
|
187 |
-
Configure via env vars:
|
188 |
-
- `ASSETS_REPO_ID` (default: `pixai-labs/pixai-tagger-v0.9`)
|
189 |
-
- `ASSETS_REVISION` (optional)
|
190 |
-
- `MODEL_DIR` (default: `./assets`)
|
191 |
"""
|
192 |
)
|
193 |
with gr.Row():
|
|
|
181 |
gr.Markdown(
|
182 |
"""
|
183 |
# PixAI Tagger v0.9 β Gradio Demo
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
184 |
"""
|
185 |
)
|
186 |
with gr.Row():
|