taha454 commited on
Commit
42a5cc8
·
verified ·
1 Parent(s): ab6c841

Update agent.py

Browse files
Files changed (1) hide show
  1. agent.py +1 -1
agent.py CHANGED
@@ -21,7 +21,7 @@ from langchain import LLMChain, PromptTemplate
21
  def get_gpt_and_answer(question):
22
  # إنشاء LLM باستخدام endpoint من Hugging Face
23
  llm = HuggingFaceEndpoint(
24
- repo_id="openai/gpt-oss-120b", # أو أي نموذج موجود في HF
25
  task="text-generation",
26
 
27
  huggingfacehub_api_token=os.environ["HUGGINGFACEHUB_API_TOKEN"],
 
21
  def get_gpt_and_answer(question):
22
  # إنشاء LLM باستخدام endpoint من Hugging Face
23
  llm = HuggingFaceEndpoint(
24
+ repo_id="openai/gpt-oss-20b", # أو أي نموذج موجود في HF
25
  task="text-generation",
26
 
27
  huggingfacehub_api_token=os.environ["HUGGINGFACEHUB_API_TOKEN"],