Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -509,7 +509,7 @@ def translate_en_to_ar(text):
|
|
509 |
|
510 |
|
511 |
|
512 |
-
def get_completion(prompt: str, model: str = "
|
513 |
api_key = os.environ.get('OPENROUTER_API_KEY')
|
514 |
if not api_key:
|
515 |
raise HTTPException(status_code=500, detail="OPENROUTER_API_KEY not found in environment variables")
|
|
|
509 |
|
510 |
|
511 |
|
512 |
+
def get_completion(prompt: str, model: str = "sophosympatheia/rogue-rose-103b-v0.2:free") -> str:
|
513 |
api_key = os.environ.get('OPENROUTER_API_KEY')
|
514 |
if not api_key:
|
515 |
raise HTTPException(status_code=500, detail="OPENROUTER_API_KEY not found in environment variables")
|