Update app.py
Browse files
app.py
CHANGED
|
@@ -42,8 +42,7 @@ def get_wiki_summary(term):
|
|
| 42 |
# --- LLM ile Etiket Rafine Etme Fonksiyonu ---
|
| 43 |
def refine_label_with_llm(entity_text, wiki_context, custom_label_definitions):
|
| 44 |
labels_str = ", ".join(custom_label_definitions.keys())
|
| 45 |
-
label_definitions_str = "
|
| 46 |
-
".join(
|
| 47 |
[f"- {k}: {v}" for k, v in custom_label_definitions.items()]
|
| 48 |
)
|
| 49 |
|
|
|
|
| 42 |
# --- LLM ile Etiket Rafine Etme Fonksiyonu ---
|
| 43 |
def refine_label_with_llm(entity_text, wiki_context, custom_label_definitions):
|
| 44 |
labels_str = ", ".join(custom_label_definitions.keys())
|
| 45 |
+
label_definitions_str = " ".join(
|
|
|
|
| 46 |
[f"- {k}: {v}" for k, v in custom_label_definitions.items()]
|
| 47 |
)
|
| 48 |
|