Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
|
@@ -12,7 +12,7 @@ if __name__ == '__main__':
|
|
| 12 |
if not api_token:
|
| 13 |
raise ValueError("HF_API_TOKEN not found in environment variables")
|
| 14 |
|
| 15 |
-
client = InferenceClient("meta-llama/Meta-Llama-3-70B-Instruct")
|
| 16 |
|
| 17 |
system_message="""
|
| 18 |
As an AI Prompt Engineering Tutor, your role is to guide the user through an interactive learning journey to master prompt engineering techniques. You will progressively challenge the user to write prompts, provide feedback, and offer tailored tips for improvement based on their previous responses.
|
|
|
|
| 12 |
if not api_token:
|
| 13 |
raise ValueError("HF_API_TOKEN not found in environment variables")
|
| 14 |
|
| 15 |
+
client = InferenceClient(token=api_token,"meta-llama/Meta-Llama-3-70B-Instruct")
|
| 16 |
|
| 17 |
system_message="""
|
| 18 |
As an AI Prompt Engineering Tutor, your role is to guide the user through an interactive learning journey to master prompt engineering techniques. You will progressively challenge the user to write prompts, provide feedback, and offer tailored tips for improvement based on their previous responses.
|