Update app.py
Browse files
app.py
CHANGED
@@ -111,7 +111,7 @@ class DetailedExplainer:
|
|
111 |
|
112 |
def explain_concept(self, concept: str, context: str, min_accuracy: float = 0.50) -> str:
|
113 |
prompt = (
|
114 |
-
f"The following sentence from a PDF is given:
|
115 |
\"{context}\"\n\n"
|
116 |
f"Now explain the concept '{concept}' mentioned above with at least {int(min_accuracy * 100)}% accuracy."
|
117 |
)
|
|
|
111 |
|
112 |
def explain_concept(self, concept: str, context: str, min_accuracy: float = 0.50) -> str:
|
113 |
prompt = (
|
114 |
+
f"The following sentence from a PDF is given":
|
115 |
\"{context}\"\n\n"
|
116 |
f"Now explain the concept '{concept}' mentioned above with at least {int(min_accuracy * 100)}% accuracy."
|
117 |
)
|