aresnow commited on
Commit
d6220ca
1 Parent(s): 743ec15

initial commit

Browse files
Files changed (2) hide show
  1. app.py +10 -0
  2. requirements.txt +4 -0
app.py ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ from xinference.deploy.local import main
2
+ from xoscar.utils import get_next_port
3
+
4
+ address = f"0.0.0.0:{get_next_port()}"
5
+
6
+ main(
7
+ address=address,
8
+ host="0.0.0.0",
9
+ port=get_next_port(),
10
+ )
requirements.txt ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ xinference
2
+ xoscar
3
+ chatglm-cpp
4
+ llama-cpp-python