Akjava commited on
Commit
d64385b
Β·
verified Β·
1 Parent(s): 4645db7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -3
app.py CHANGED
@@ -197,9 +197,9 @@ def test():
197
 
198
 
199
  def trans(text):
200
- test()
201
 
202
- yield "done"
203
 
204
  # γƒ†γ‚­γ‚Ήγƒˆγ«θ¨€θͺžγ‚Ώγ‚°γ‚’δ»˜δΈŽγ—γ€γƒγ‚€γƒˆεˆ—γ«ε€‰ζ›
205
  input_text = f"<2ja>{text}".encode('utf-8')
@@ -311,7 +311,8 @@ def respond(
311
  )
312
  llm_model = model
313
 
314
- return trans(message)
 
315
 
316
  provider = LlamaCppPythonProvider(llm)
317
 
 
197
 
198
 
199
  def trans(text):
200
+ #test()
201
 
202
+ return None
203
 
204
  # γƒ†γ‚­γ‚Ήγƒˆγ«θ¨€θͺžγ‚Ώγ‚°γ‚’δ»˜δΈŽγ—γ€γƒγ‚€γƒˆεˆ—γ«ε€‰ζ›
205
  input_text = f"<2ja>{text}".encode('utf-8')
 
311
  )
312
  llm_model = model
313
 
314
+ trans(message)
315
+ yield "done"
316
 
317
  provider = LlamaCppPythonProvider(llm)
318