TymaaHammouda commited on
Commit
25da7b8
·
verified ·
1 Parent(s): b2b31ea

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -82,7 +82,7 @@ def run_llama(req1, req2, prompt_type):
82
  return tokenizer.decode(outputs[0], skip_special_tokens=True)
83
 
84
  def run_fanar(req1, req2, prompt_type):
85
- client = OpenAI(base_url="https://api.fanar.qa/v1", api_key=os.getenv("FANAR_API_KEY"))
86
  prompt = build_prompt(req1, req2, prompt_type)
87
  response = client.chat.completions.create(
88
  model="Fanar",
 
82
  return tokenizer.decode(outputs[0], skip_special_tokens=True)
83
 
84
  def run_fanar(req1, req2, prompt_type):
85
+ client = OpenAI(base_url="https://api.fanar.qa/v1", api_key="NO8LjYlo9DSZLeL3Yc2dduMCZfQIBCqf")
86
  prompt = build_prompt(req1, req2, prompt_type)
87
  response = client.chat.completions.create(
88
  model="Fanar",