karths commited on
Commit
eb966da
·
verified ·
1 Parent(s): 67a1802

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -135,12 +135,13 @@ Given the following issue description:
135
  ---
136
  {issue_text}
137
  ---
138
- Explain why this issue might be classified as a **{quality_name}** issue. Provide a concise explanation, relating it back to the issue description. Keep the explanation short and concise.
139
  """
 
140
  try:
141
  explanation = llama_generate(prompt)
142
  # Format for better readability, directly including the quality name.
143
- formatted_explanation = f"<p><b>{quality_name}:</b></p><p>{explanation}</p>"
144
  return f"<div style='overflow-y: scroll; max-height: 400px;'>{formatted_explanation}</div>"
145
  except Exception as e:
146
  logging.error(f"Error during Llama generation: {e}")
 
135
  ---
136
  {issue_text}
137
  ---
138
+ Explain why this issue might be classified as a **{quality_name}** issue. Provide a concise explanation, relating it back to the issue description. Keep the explanation short and concise and dont include anything else.
139
  """
140
+ print(prompt)
141
  try:
142
  explanation = llama_generate(prompt)
143
  # Format for better readability, directly including the quality name.
144
+ formatted_explanation = f"<p>{explanation}</p>"
145
  return f"<div style='overflow-y: scroll; max-height: 400px;'>{formatted_explanation}</div>"
146
  except Exception as e:
147
  logging.error(f"Error during Llama generation: {e}")