Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -16,7 +16,7 @@ def generate_response(prompt, api_key):
|
|
16 |
api_url = "https://api.studio.nebius.ai/v1/chat/completions"
|
17 |
headers = {"Authorization": f"Bearer {api_key}"}
|
18 |
payload = {
|
19 |
-
"model": "microsoft/
|
20 |
"messages": [
|
21 |
{"role": "system", "content": """You are a Prompt Generator designed to create task-specific prompts for various user requests. Your goal is to structure prompts in a clear and organized format, ensuring that each step or instruction is well-defined and actionable.
|
22 |
Generate Prompt:
|
|
|
16 |
api_url = "https://api.studio.nebius.ai/v1/chat/completions"
|
17 |
headers = {"Authorization": f"Bearer {api_key}"}
|
18 |
payload = {
|
19 |
+
"model": "microsoft/phi-4",
|
20 |
"messages": [
|
21 |
{"role": "system", "content": """You are a Prompt Generator designed to create task-specific prompts for various user requests. Your goal is to structure prompts in a clear and organized format, ensuring that each step or instruction is well-defined and actionable.
|
22 |
Generate Prompt:
|