File size: 691 Bytes
d045149
 
 
 
 
fba2ed6
 
d045149
 
 
 
fba2ed6
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
---
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