Spaces:
Runtime error
Runtime error
Update forge-texture from local forge-bricks
Browse files- app.py +1 -1
- requirements.txt +0 -2
app.py
CHANGED
|
@@ -79,7 +79,7 @@ def generate_pbr(prompt: str, style_ref: Image.Image | None = None, resolution:
|
|
| 79 |
return {"maps": maps, "manifest": manifest.to_dict()}
|
| 80 |
|
| 81 |
def build_ui():
|
| 82 |
-
with gr.Blocks(title="Forge-Texture") as demo:
|
| 83 |
gr.Markdown("# Forge-Texture (PBR Maps)")
|
| 84 |
p = gr.Textbox("ancient stone brick wall, mossy, medieval game asset")
|
| 85 |
ref = gr.Image(label="Optional style ref", type="pil")
|
|
|
|
| 79 |
return {"maps": maps, "manifest": manifest.to_dict()}
|
| 80 |
|
| 81 |
def build_ui():
|
| 82 |
+
with gr.Blocks(title="Forge-Texture", mcp_server=True) as demo:
|
| 83 |
gr.Markdown("# Forge-Texture (PBR Maps)")
|
| 84 |
p = gr.Textbox("ancient stone brick wall, mossy, medieval game asset")
|
| 85 |
ref = gr.Image(label="Optional style ref", type="pil")
|
requirements.txt
CHANGED
|
@@ -27,8 +27,6 @@ orjson==3.11.9
|
|
| 27 |
packaging==26.2
|
| 28 |
pandas==3.0.3
|
| 29 |
pillow==12.2.0
|
| 30 |
-
pydantic==2.13.4
|
| 31 |
-
pydantic-core==2.46.4
|
| 32 |
pydub==0.25.1
|
| 33 |
pygments==2.20.0
|
| 34 |
python-dateutil==2.9.0.post0
|
|
|
|
| 27 |
packaging==26.2
|
| 28 |
pandas==3.0.3
|
| 29 |
pillow==12.2.0
|
|
|
|
|
|
|
| 30 |
pydub==0.25.1
|
| 31 |
pygments==2.20.0
|
| 32 |
python-dateutil==2.9.0.post0
|