keynes42 commited on
Commit
4e4214e
·
verified ·
1 Parent(s): 97e6ed5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -32,7 +32,7 @@ class LocalLLM:
32
  out = outputs[0] # fallback if it's just a list of strings
33
  else:
34
  out = str(outputs)
35
- print("🧪 Final object to return:", type(response_text), out[:100])
36
  return {'role': 'assistant', 'content': out}
37
  except Exception as e:
38
  print(f"❌ Error in LocalLLM.generate(): {e}")
 
32
  out = outputs[0] # fallback if it's just a list of strings
33
  else:
34
  out = str(outputs)
35
+ print("🧪 Final object to return:", type(out), out[:100])
36
  return {'role': 'assistant', 'content': out}
37
  except Exception as e:
38
  print(f"❌ Error in LocalLLM.generate(): {e}")