Fix Llamaserver.py indentation
This commit is contained in:
parent
3d938e8803
commit
c31e3b89c7
1 changed files with 0 additions and 3 deletions
|
@ -2,7 +2,6 @@ from queue import Queue
|
||||||
import threading
|
import threading
|
||||||
import requests
|
import requests
|
||||||
import json
|
import json
|
||||||
from time import sleep
|
|
||||||
|
|
||||||
def print_dict(data):
|
def print_dict(data):
|
||||||
if isinstance(data, dict):
|
if isinstance(data, dict):
|
||||||
|
@ -102,8 +101,6 @@ You pay close attention to the nuance of a question and respond accordingly."
|
||||||
print(f"Server responded with code {response.status_code}\n")
|
print(f"Server responded with code {response.status_code}\n")
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
print(f"Server returned exception error {e}")
|
print(f"Server returned exception error {e}")
|
||||||
# sleep(delay)
|
|
||||||
# delay *= 2
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue