Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -4,7 +4,7 @@ import gradio as gr
|
|
| 4 |
import openai # or transformers, depending on which model you prefer
|
| 5 |
|
| 6 |
# Your OpenAI API key setup (use environment variables in production)
|
| 7 |
-
openai.api_key = "
|
| 8 |
|
| 9 |
# === PROMPT ENGINEERING CORE LOGIC ===
|
| 10 |
def generate_4T_prompt(trait, task, tone, style, target):
|
|
|
|
| 4 |
import openai # or transformers, depending on which model you prefer
|
| 5 |
|
| 6 |
# Your OpenAI API key setup (use environment variables in production)
|
| 7 |
+
openai.api_key = "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"
|
| 8 |
|
| 9 |
# === PROMPT ENGINEERING CORE LOGIC ===
|
| 10 |
def generate_4T_prompt(trait, task, tone, style, target):
|