PranjalZetsu commited on
Commit
1b8d2a5
Β·
verified Β·
1 Parent(s): 8fd2655

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -3
app.py CHANGED
@@ -31,9 +31,8 @@ print("Model ready!")
31
 
32
  def generate_response(message, history):
33
  # Format the prompt exactly how your agent was trained
34
- prompt = (
35
- prompt = f"System: You are an AI Semiconductor Process Engineer. Output your reasoning in <think> tags, your diagnosis in <diagnosis> tags, and your parameter adjustments in <experiment> tags.\n\nUser: {message}\n\nAssistant:"
36
- )
37
 
38
  inputs = tokenizer(prompt, return_tensors="pt").to("cuda")
39
 
 
31
 
32
  def generate_response(message, history):
33
  # Format the prompt exactly how your agent was trained
34
+ prompt = f"System: You are an AI Semiconductor Process Engineer. Output your reasoning in <think> tags, your diagnosis in <diagnosis> tags, and your parameter adjustments in <experiment> tags.\n\nUser: {message}\n\nAssistant:"
35
+
 
36
 
37
  inputs = tokenizer(prompt, return_tensors="pt").to("cuda")
38