Skip to content

Commit

Permalink
Update dali.py
Browse files Browse the repository at this point in the history
  • Loading branch information
h0mbre authored Dec 21, 2019
1 parent 8445b34 commit f581d70
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions dali.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,8 @@ def do_help(self, inp):
print("\n")
print("Valid Commands:\t\tDescription:")
print("Image\t\t\tCreate an image for agent tasking")
print("Album\t\t\tCreate an anonymous album for agent responses")
print("Album\t\t\tCreate an album for agent responses")
print("Agent\t\t\tCreate an agent entity")
print("Task\t\t\tCreate tasking for agent")
print("List\t\t\tList images, albums, agents, and tasks")
print("Delete\t\t\tDelete images, albums, agents, and tasks")
Expand All @@ -103,7 +104,8 @@ def default(self, inp):
print("\n")
print("Valid Commands:\t\tDescription:")
print("Image\t\t\tCreate an image for agent tasking")
print("Album\t\t\tCreate an anonymous album for agent responses")
print("Album\t\t\tCreate an album for agent responses")
print("Agent\t\t\tCreate an agent entity")
print("Task\t\t\tCreate tasking for agent")
print("List\t\t\tList images, albums, agents, and tasks")
print("Delete\t\t\tDelete images, albums, agents, and tasks")
Expand Down Expand Up @@ -899,7 +901,7 @@ def do_Response(self, inp):
response_results = base64.b64decode(response)
response_results = response_results.decode("utf-8")
response_results = response_results.split("^")
print(Style.BRIGHT + Fore.CYAN + "\n---RESPONSE FROM AGENT " + str(response_agent) + " (received at: " + response_results[1] + ")---" + Style.RESET_ALL)
print(Style.BRIGHT + Fore.CYAN + "\n---RESPONSE FROM AGENT " + str(response_agent) + " (received at: " + response_results[1] + ")---" + Style.RESET_ALL + "\n")
print(response_results[0] + "\n")
except Exception as e:
print(e)
Expand Down

0 comments on commit f581d70

Please sign in to comment.