yxmnjxzx commited on
Commit
802f1db
·
verified ·
1 Parent(s): 86aedc4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -85,7 +85,7 @@ class PromptRefiner:
85
  output[key] = "" # Set empty string if content not found
86
  return RefinementOutput(**output, raw_content=response_content)
87
 
88
- def apply_prompt(self, prompt: str) -> str:
89
  try:
90
  messages = [
91
  {"role": "system", "content": "You are a helpful assistant. Answer in stylized version with latex format or markdown if relevant. Separate your answer into logical sections using level 2 headers (##) for sections and bolding (**) for subsections.Incorporate a variety of lists, headers, and text to make the answer visually appealing"},
 
85
  output[key] = "" # Set empty string if content not found
86
  return RefinementOutput(**output, raw_content=response_content)
87
 
88
+ def apply_prompt(self, prompt: str, model: str) -> str:
89
  try:
90
  messages = [
91
  {"role": "system", "content": "You are a helpful assistant. Answer in stylized version with latex format or markdown if relevant. Separate your answer into logical sections using level 2 headers (##) for sections and bolding (**) for subsections.Incorporate a variety of lists, headers, and text to make the answer visually appealing"},