mirror of
https://github.com/ParisNeo/lollms-webui.git
synced 2024-12-19 20:37:51 +00:00
added doc
This commit is contained in:
parent
afd8d2a4ef
commit
571cd8576b
1
app.py
1
app.py
@ -460,6 +460,7 @@ class LoLLMsWebUI(LoLLMsAPPI):
|
||||
print("Set config results:")
|
||||
print(result)
|
||||
return jsonify(result)
|
||||
|
||||
def ram_usage(self):
|
||||
"""
|
||||
Returns the RAM usage in bytes.
|
||||
|
@ -18,6 +18,16 @@ The Flask backend API exposes various endpoints to interact with the application
|
||||
|
||||
---
|
||||
|
||||
### Endpoint: /ram_usage (GET)
|
||||
|
||||
**Description**: Retrieves the ram usage of the system.
|
||||
|
||||
**Parameters**: None
|
||||
|
||||
**Output**: Returns the ram usage information.
|
||||
|
||||
---
|
||||
|
||||
### Endpoint: /list_bindings (GET)
|
||||
|
||||
**Description**: Lists the available bindings.
|
||||
|
Loading…
Reference in New Issue
Block a user