Spaces:
Sleeping
Sleeping
update
Browse files
app.py
CHANGED
|
@@ -2,7 +2,7 @@ from openai import OpenAI
|
|
| 2 |
import gradio as gr
|
| 3 |
|
| 4 |
# Directly use your API key here (for quick testing only)
|
| 5 |
-
client = OpenAI(api_key="sk-proj-
|
| 6 |
|
| 7 |
def generate_career_advice(field, position_name, current_qualifications, likes, skills):
|
| 8 |
prompt = f"""You are a career advisor AI. Provide customized career advice using the following details:
|
|
|
|
| 2 |
import gradio as gr
|
| 3 |
|
| 4 |
# Directly use your API key here (for quick testing only)
|
| 5 |
+
client = OpenAI(api_key="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")
|
| 6 |
|
| 7 |
def generate_career_advice(field, position_name, current_qualifications, likes, skills):
|
| 8 |
prompt = f"""You are a career advisor AI. Provide customized career advice using the following details:
|