Kkanittha commited on
Commit
df02109
·
verified ·
1 Parent(s): fb4187e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -0
app.py CHANGED
@@ -46,6 +46,12 @@ class BasicAgent:
46
  max_tokens=256,
47
  temperature=0.2,
48
  )
 
 
 
 
 
 
49
 
50
  '''answer = llm("Who won the 2024 Olympic gold in swimming?")
51
  print(answer)'''
 
46
  max_tokens=256,
47
  temperature=0.2,
48
  )
49
+ #test
50
+ try:
51
+ response = client.text_generation("Hello, how are you?", max_new_tokens=50)
52
+ print("✅ Model response:", response)
53
+ except Exception as e:
54
+ print("❌ Direct call error:", e)
55
 
56
  '''answer = llm("Who won the 2024 Olympic gold in swimming?")
57
  print(answer)'''