Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
@@ -4,8 +4,7 @@ from huggingface_hub import InferenceClient
|
|
4 |
|
5 |
client = InferenceClient("mistralai/Mixtral-8x7B-Instruct-v0.1")
|
6 |
|
7 |
-
system_instructions = "[SYSTEM] You will be provided with text, and your task is to classify task tasks are (text generation, image generation,
|
8 |
-
|
9 |
|
10 |
def classify_task(prompt):
|
11 |
generate_kwargs = dict(
|
|
|
4 |
|
5 |
client = InferenceClient("mistralai/Mixtral-8x7B-Instruct-v0.1")
|
6 |
|
7 |
+
system_instructions = "[SYSTEM] You will be provided with text, and your task is to classify task tasks are (text generation, image generation, tts) answer with only task type that prompt user give, do not say anything else and stop as soon as possible. Example: User- What is friction , BOT - text generation [USER]"
|
|
|
8 |
|
9 |
def classify_task(prompt):
|
10 |
generate_kwargs = dict(
|