Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -134,8 +134,12 @@ def generate_explanation(issue_text, top_quality):
|
|
134 |
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. Do not repeat the prompt or include any preamble in your response - just provide the explanation directly.
|
|
|
|
|
|
|
|
|
139 |
"""
|
140 |
try:
|
141 |
explanation = llama_generate(prompt)
|
|
|
134 |
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. Do not repeat the prompt or include any preamble in your response - just provide the explanation directly.
|
139 |
+
<br>
|
140 |
+
---
|
141 |
+
|
142 |
+
|
143 |
"""
|
144 |
try:
|
145 |
explanation = llama_generate(prompt)
|