Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -112,8 +112,7 @@ Final Response:
|
|
112 |
return prompt
|
113 |
from gradio_client import Client
|
114 |
|
115 |
-
def ask_wasm(
|
116 |
-
txt=format_cyber_response(text)
|
117 |
client = Client("wasmdashai/LAHJA-AI")
|
118 |
result = client.predict(
|
119 |
prompt=txt,
|
@@ -129,8 +128,9 @@ def t2t(text, namn_model):
|
|
129 |
out = ASGAI.Tec.predictAPI(text)
|
130 |
else:
|
131 |
out = ASGAI.Soft.predictAPI(text)
|
132 |
-
|
133 |
-
|
|
|
134 |
return anwai
|
135 |
|
136 |
def t2seq(text, namn_model):
|
|
|
112 |
return prompt
|
113 |
from gradio_client import Client
|
114 |
|
115 |
+
def ask_wasm(txt):
|
|
|
116 |
client = Client("wasmdashai/LAHJA-AI")
|
117 |
result = client.predict(
|
118 |
prompt=txt,
|
|
|
128 |
out = ASGAI.Tec.predictAPI(text)
|
129 |
else:
|
130 |
out = ASGAI.Soft.predictAPI(text)
|
131 |
+
|
132 |
+
txt=format_cyber_response(text,str(out))
|
133 |
+
anwai=ask_wasm(txt)
|
134 |
return anwai
|
135 |
|
136 |
def t2seq(text, namn_model):
|