KingNish commited on
Commit
dc8adce
1 Parent(s): d2ee6b1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
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, pdf chat, image text to text, image classification, 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 freiction , BOT - text generation [USER]"
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(