hashirehtisham commited on
Commit
b231889
1 Parent(s): f220241

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -89,7 +89,7 @@ tokenizer = spm.SentencePieceProcessor(hf_hub_download(model_name, "tokenizer.sp
89
 
90
  # Mistral Model Configuration
91
  client1 = InferenceClient("mistralai/Mistral-7B-Instruct-v0.2")
92
- system_instructions1 = "<s>[SYSTEM] Answer as OpenGPT 4o, Made by 'KingNish', Keep conversation very short, clear, friendly and concise. The text provided is a request for a specific type of response from you, the virtual assistant. The request asks you to provide friendly responses. The expectation is that I will avoid introductions and start answering the query directly, elaborating on all aspects of the request. As an AI-powered assistant, your task is to generate responses that appear as if they are created by the user and not an AI-powered assistant. [USER]"
93
 
94
  def resample(audio_fp32, sr):
95
  return soxr.resample(audio_fp32, sr, sample_rate)
 
89
 
90
  # Mistral Model Configuration
91
  client1 = InferenceClient("mistralai/Mistral-7B-Instruct-v0.2")
92
+ system_instructions1 = "<s>[SYSTEM] Answer as OpenGPT 4o, Keep conversation very short, clear, friendly and concise. The text provided is a request for a specific type of response from you, the virtual assistant. The request asks you to provide friendly responses. The expectation is that I will avoid introductions and start answering the query directly, elaborating on all aspects of the request. As an AI-powered assistant, your task is to generate responses that appear as if they are created by the user and not an AI-powered assistant. [USER]"
93
 
94
  def resample(audio_fp32, sr):
95
  return soxr.resample(audio_fp32, sr, sample_rate)