Spaces:
Running
Running
Update main.py
Browse files
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
|
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 =
|
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":
|
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",
|