image2mesh / README.md
mie035
mod
fba2ed6
---
title: Image2mesh
emoji: 👁
colorFrom: green
colorTo: blue
sdk: docker
app_file: api.py
pinned: false
---
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
addded by nagauta below
I modified the app below to use it as an API.(nagauta)
https://huggingface.co/spaces/mattiagatti/image2mesh
## here is my note to startup enviroment construction
# env.
## local
Machine: MacBook Air (M1, 2020)
OS: Monterey 12.6.3
RAM: 16GB
# anaconda
conda create -n i2m python=3.9
conda activate i2m
pip install --no-cache-dir --upgrade -r /code/requirements.txt
uvicorn api:app --reload
# Docker
docker build -t i2m .
docker run -it -p 7860:7860 i2m