Skip to content

Commit

Permalink
restructuring(again)
Browse files Browse the repository at this point in the history
  • Loading branch information
privacyrespected committed Jun 27, 2022
1 parent 60ffdb7 commit 40356d6
Show file tree
Hide file tree
Showing 62 changed files with 14,329 additions and 567 deletions.
201 changes: 0 additions & 201 deletions LICENSE

This file was deleted.

13 changes: 5 additions & 8 deletions UI.py → UI/UI.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,10 @@
import psutil
import sys
import platform
from frontend_command import Pcommand
eel.init("web")
try:
eel.init("web")
except Exception as e:
eel.init("UI/web")
@eel.expose
def checkram():
memory_info=psutil.virtual_memory()
Expand All @@ -23,13 +25,8 @@ def checkcpu():
def checknetwork1():
checknetwork= psutil.sensors_battery().percent
checknetwork= str(checknetwork)
current_network="Energy: " + checknetwork + "%"
current_network="Battery: " + checknetwork + "%"
return current_network
@eel.expose
def checkcommand(commandinput):
print(commandinput)
Pcommand(commandinput)


#frontend functions
def alpha_frontend():
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
Binary file removed __pycache__/UI.cpython-36.pyc
Binary file not shown.
Binary file removed __pycache__/chatdata.cpython-36.pyc
Binary file not shown.
Binary file removed __pycache__/customcorpus.cpython-36.pyc
Binary file not shown.
Binary file removed __pycache__/frontend_command.cpython-37.pyc
Binary file not shown.
Binary file removed __pycache__/functions.cpython-36.pyc
Binary file not shown.
Binary file removed __pycache__/response.cpython-36.pyc
Binary file not shown.
Loading

0 comments on commit 40356d6

Please sign in to comment.