from base 0
Build-Deploy-Actions
Details
Build-Deploy-Actions
Details
This commit is contained in:
parent
d9f8d092ec
commit
15aa2c37f8
|
@ -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
|
WORKDIR /app
|
||||||
|
|
||||||
|
|
3
app.py
3
app.py
|
@ -31,5 +31,4 @@ demo = gr.Interface(fn=sentiment_analysis,
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
# demo.queue(concurrency_count=3)
|
# demo.queue(concurrency_count=3)
|
||||||
# demo.launch(server_name = "0.0.0.0", server_port = 7028)
|
demo.launch(server_name = "0.0.0.0")
|
||||||
demo.launch()
|
|
||||||
|
|
|
@ -1,3 +1 @@
|
||||||
gradio
|
simplet5
|
||||||
transformers
|
|
||||||
torch
|
|
||||||
|
|
Loading…
Reference in New Issue