davidgasquez commited on
Commit
8504d4b
1 Parent(s): 7514c9c
Files changed (3) hide show
  1. Dockerfile +1 -1
  2. app.py +1 -2
  3. requirements.txt +3 -2
Dockerfile CHANGED
@@ -1,4 +1,4 @@
1
- FROM python:3.10
2
 
3
  RUN useradd -m -u 1000 user
4
 
 
1
+ FROM python:3.9
2
 
3
  RUN useradd -m -u 1000 user
4
 
app.py CHANGED
@@ -1,5 +1,4 @@
1
  from textual_serve.server import Server
2
 
3
- server = Server("python -m textual", host="0.0.0.0", port=8080)
4
-
5
  server.serve()
 
1
  from textual_serve.server import Server
2
 
3
+ server = Server("python -m textual", host="0.0.0.0", port=8080, public_url="https://huggingface.co/")
 
4
  server.serve()
requirements.txt CHANGED
@@ -1,3 +1,4 @@
1
  textual-serve
2
- harlequin
3
- uvicorn[standard]
 
 
1
  textual-serve
2
+ textual-dev
3
+ # harlequin==1.21.0
4
+ uvicorn[standard]