wasmdashai commited on
Commit
15dc550
·
verified ·
1 Parent(s): 284e677

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -112,8 +112,7 @@ Final Response:
112
  return prompt
113
  from gradio_client import Client
114
 
115
- def ask_wasm(text):
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
- anwai=ask_wasm(text,str(out))
 
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):