mirror of
https://github.com/ParisNeo/lollms-webui.git
synced 2024-12-20 04:47:55 +00:00
Merge branch 'main' into fixes-today
This commit is contained in:
commit
410ffe8d02
7
app.py
7
app.py
@ -1010,6 +1010,7 @@ if __name__ == "__main__":
|
||||
print("debug mode:true")
|
||||
else:
|
||||
print("debug mode:false")
|
||||
|
||||
http_server = WSGIServer((config["host"], config["port"]), app, handler_class=WebSocketHandler)
|
||||
http_server.serve_forever()
|
||||
|
||||
socketio.run(app, host=config["host"], port=config["port"])
|
||||
# http_server = WSGIServer((config["host"], config["port"]), app, handler_class=WebSocketHandler)
|
||||
# http_server.serve_forever()
|
||||
|
@ -101,7 +101,7 @@ class CTRansformers(LLMBinding):
|
||||
"""
|
||||
try:
|
||||
output = ""
|
||||
self.model.reset()
|
||||
#self.model.reset()
|
||||
tokens = self.model.tokenize(prompt)
|
||||
count = 0
|
||||
for tok in self.model.generate(
|
||||
|
@ -1 +1 @@
|
||||
llama-cpp-python
|
||||
llama-cpp-python==0.1.53
|
@ -11,5 +11,6 @@ services:
|
||||
- ./models:/srv/models
|
||||
- ./configs:/srv/configs
|
||||
- ./personalities:/srv/personalities
|
||||
- ./web:/srv/web
|
||||
ports:
|
||||
- "9600:9600"
|
||||
|
Loading…
Reference in New Issue
Block a user