Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -60,7 +60,7 @@ class PromptRefiner:
|
|
60 |
def __init__(self, api_token: str):
|
61 |
self.client = Groq(api_key=api_key)
|
62 |
|
63 |
-
|
64 |
"""Generate a system prompt for the given task or prompt."""
|
65 |
messages = [
|
66 |
{
|
|
|
60 |
def __init__(self, api_token: str):
|
61 |
self.client = Groq(api_key=api_key)
|
62 |
|
63 |
+
def generate_system_prompt(self, task_or_prompt: str, model: str = "llama-3.2-90b-text-preview") -> str:
|
64 |
"""Generate a system prompt for the given task or prompt."""
|
65 |
messages = [
|
66 |
{
|