This file contains 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 os | |
import sys | |
import asyncio | |
import subprocess | |
import argparse | |
from openai import AsyncOpenAI | |
client = AsyncOpenAI() | |
def run_command(command, check=True): |
This file contains 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 sys | |
import subprocess | |
import argparse | |
from datetime import datetime | |
import pyperclip # You might need to: pip install pyperclip | |
def run_git_command(command): | |
try: | |
return subprocess.check_output(command, shell=True).decode('utf-8') | |
except subprocess.CalledProcessError as e: |
This file contains 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
#!/usr/bin/python | |
import argparse | |
import os | |
import shutil | |
from os.path import isfile, join | |
import cv2 | |
import numpy as np |