Spaces:
Cesarcr
/
Runtime error

KingNish commited on
Commit
d2ee6b1
β€’
1 Parent(s): 9a6e691

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -4,7 +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, summarization, translation , tts) answer with only task do not say anything else and stop as soon as possible. [USER]"
8
 
9
 
10
  def classify_task(prompt):
 
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):