Handle demo modus in Web UI

This commit is contained in:
hlohaus
2025-01-26 04:25:21 +01:00
parent ca323b117f
commit 5a0afdb110
2 changed files with 194 additions and 102 deletions

View File

@@ -71,7 +71,9 @@ class Backend_Api(Api):
else:
class Dummy():
def limit(self, value):
pass
def callback(v):
return v
return callback
limiter = Dummy()
@app.route('/backend-api/v2/models', methods=['GET'])