mirror of
https://github.com/wassname/Clover-Edition.git
synced 2026-10-03 12:01:18 +08:00
updated main.py
This commit is contained in:
1 parent
1f6e501a91
commit
2a98952b23
4 files changed
+64
-26
No files matched your search
+14
@@ -0,0 +1,14 @@
|
||||
FROM nvcr.io/nvidia/tensorflow:19.08-py3
|
||||
|
||||
ENV APP_HOME /app
|
||||
WORKDIR $APP_HOME
|
||||
COPY . ./
|
||||
|
||||
RUN pip install -r requirements.txt
|
||||
WORKDIR generator/ctrl
|
||||
RUN ls
|
||||
RUN sh install_ctrl_py3.sh
|
||||
RUN sh download_model.sh
|
||||
WORKDIR $APP_HOME
|
||||
|
||||
CMD exec guincorn --bind :%PORT --workers 1 --threads 8 app:app
|
||||
Reference in new issue
Block a user