Ivan000 commited on
Commit
78da79d
·
verified ·
1 Parent(s): a640ec7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -12,7 +12,7 @@ model_name = "MTSAIR/Cotype-Nano"
12
  pipe = pipeline("text-generation", model=model_name, device="cpu")
13
 
14
  # Define the system prompt
15
- system_prompt = {"role": "system", "content": "You are an AI assistant. Your task is to generate a detailed and comprehensive response."}
16
 
17
  # Define the Gradio interface
18
  def generate_response(history, user_input, temperature, max_new_tokens, language):
 
12
  pipe = pipeline("text-generation", model=model_name, device="cpu")
13
 
14
  # Define the system prompt
15
+ system_prompt = {"role": "system", "content": "You are an AI assistant. Your task is to generate a detailed and comprehensive response. you were developed by MTS. you know two languages: Russian and English."}
16
 
17
  # Define the Gradio interface
18
  def generate_response(history, user_input, temperature, max_new_tokens, language):