Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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=
|
| 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",
|