randydev commited on
Commit
0973c3d
·
verified ·
1 Parent(s): a3086ca

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +3 -5
main.py CHANGED
@@ -71,7 +71,7 @@ from RyuzakiLib.hackertools.openai_api import OpenAiToken
71
  from RyuzakiLib.hackertools.huggingface import BetaRag
72
 
73
  from RyuzakiLib.mental import BadWordsList
74
- from RyuzakiLib.system import OpenReadSystem
75
 
76
  from bardapi import Bard
77
  from models import *
@@ -405,12 +405,10 @@ def pypi_search(
405
  item: TextCustom,
406
  ):
407
  try:
408
- response = OpenReadSystem()
409
- response.code_system = f"pip3 show {item.query}"
410
- hack = response.show(read_system=True)
411
  return SuccessResponse(
412
  status="True",
413
- randydev={"results": hack})
414
  except:
415
  return SuccessResponse(
416
  status="True",
 
71
  from RyuzakiLib.hackertools.huggingface import BetaRag
72
 
73
  from RyuzakiLib.mental import BadWordsList
74
+ from RyuzakiLib.system import System
75
 
76
  from bardapi import Bard
77
  from models import *
 
405
  item: TextCustom,
406
  ):
407
  try:
408
+ response = System.show(f"pip3 show {item.query}")
 
 
409
  return SuccessResponse(
410
  status="True",
411
+ randydev={"results": response})
412
  except:
413
  return SuccessResponse(
414
  status="True",