Update app.py
Browse files
app.py
CHANGED
|
@@ -65,7 +65,9 @@ def process_input_gradio(problem_description: str):
|
|
| 65 |
best_technologies = get_technologies_by_id(best_technologies_id, global_tech)
|
| 66 |
|
| 67 |
# Format outputs for Gradio
|
| 68 |
-
|
|
|
|
|
|
|
| 69 |
|
| 70 |
result_similarities_display = {
|
| 71 |
k: ", ".join([f"{name} ({score:.3f})" for name, score in v])
|
|
|
|
| 65 |
best_technologies = get_technologies_by_id(best_technologies_id, global_tech)
|
| 66 |
|
| 67 |
# Format outputs for Gradio
|
| 68 |
+
print(type(matrix))
|
| 69 |
+
print(dir(matrix))
|
| 70 |
+
matrix_display = matrix #.tolist() # Convert numpy array to list of lists for better Gradio display
|
| 71 |
|
| 72 |
result_similarities_display = {
|
| 73 |
k: ", ".join([f"{name} ({score:.3f})" for name, score in v])
|