itskavya commited on
Commit
398bf57
·
verified ·
1 Parent(s): c233f47

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -23,7 +23,7 @@ class BasicAgent:
23
  llm = HuggingFaceEndpoint(repo_id="Qwen/Qwen2.5-Coder-32B-Instruct")
24
  chat = ChatHuggingFace(llm=llm, verbose=True)
25
  messages = [("system", "You are a helpful translator. Translate the user sentence to French."),
26
- ("human", "I love programming.")
27
  print(chat.invoke(messages))
28
  print("BasicAgent initialized.")
29
  def __call__(self, question: str) -> str:
 
23
  llm = HuggingFaceEndpoint(repo_id="Qwen/Qwen2.5-Coder-32B-Instruct")
24
  chat = ChatHuggingFace(llm=llm, verbose=True)
25
  messages = [("system", "You are a helpful translator. Translate the user sentence to French."),
26
+ ("human", "I love programming.")]
27
  print(chat.invoke(messages))
28
  print("BasicAgent initialized.")
29
  def __call__(self, question: str) -> str: