Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -12,8 +12,8 @@ from Gradio_UI import GradioUI
|
|
| 12 |
# Below is an example of a tool that does nothing. Amaze us with your creativity !
|
| 13 |
|
| 14 |
@tool
|
| 15 |
-
def reconcile_documents(text1:str, text2:str)
|
| 16 |
-
"""Compares two text documents and identifies differences using LLM analysis.
|
| 17 |
Args:
|
| 18 |
text1: First document text
|
| 19 |
text2: Second document text
|
|
@@ -36,6 +36,8 @@ def reconcile_documents(text1:str, text2:str)
|
|
| 36 |
|
| 37 |
return f"Comparison request queued: {prompt[:200]}..." # Actual comparison done through agent
|
| 38 |
|
|
|
|
|
|
|
| 39 |
|
| 40 |
|
| 41 |
@tool
|
|
|
|
| 12 |
# Below is an example of a tool that does nothing. Amaze us with your creativity !
|
| 13 |
|
| 14 |
@tool
|
| 15 |
+
def reconcile_documents(text1:str, text2:str) -> str:
|
| 16 |
+
"""Compares two text documents and identifies differences using LLM analysis.
|
| 17 |
Args:
|
| 18 |
text1: First document text
|
| 19 |
text2: Second document text
|
|
|
|
| 36 |
|
| 37 |
return f"Comparison request queued: {prompt[:200]}..." # Actual comparison done through agent
|
| 38 |
|
| 39 |
+
|
| 40 |
+
|
| 41 |
|
| 42 |
|
| 43 |
@tool
|