from base 0
Build-Deploy-Actions Details

This commit is contained in:
jianjiang 2023-04-21 17:16:18 +08:00
parent d9f8d092ec
commit 15aa2c37f8
3 changed files with 3 additions and 6 deletions

View File

@ -1,4 +1,4 @@
FROM python:3.8.13
FROM artifacts.iflytek.com/docker-private/atp/base_image_for_ailab:0.0.1
WORKDIR /app

3
app.py
View File

@ -31,5 +31,4 @@ demo = gr.Interface(fn=sentiment_analysis,
if __name__ == "__main__":
# demo.queue(concurrency_count=3)
# demo.launch(server_name = "0.0.0.0", server_port = 7028)
demo.launch()
demo.launch(server_name = "0.0.0.0")

View File

@ -1,3 +1 @@
gradio
transformers
torch
simplet5