This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from googlesearch import search | |
from groq import Groq | |
from json import load, dump | |
import datetime | |
from dotenv import dotenv_values | |
env_vars = dotenv_values(".env") | |
Username = env_vars.get("Username") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<title>Speech Recognition</title> | |
</head> | |
<body> | |
<button id="start" onclick="startRecognition()">Start Recognition</button> | |
<button id="end" onclick="stopRecognition()">Stop Recognition</button> | |
<p id="output"></p> | |
<script> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import psutil | |
system_info = f''' | |
Initializing system check... | |
Checking CPU Usage... | |
Checking RAM Usage... | |
Checking Battery Level... | |
CPU Usage: {psutil.cpu_percent(interval=1)}% | |
RAM Usage: {psutil.virtual_memory().percent}% |