Update app.py
Browse files
app.py
CHANGED
|
@@ -111,10 +111,14 @@ def process_input_gradio(problem_description: str):
|
|
| 111 |
best_combinations_display = json.dumps(safe_best_combinations, indent=2)
|
| 112 |
best_technologies_display = json.dumps(safe_best_technologies, indent=2)
|
| 113 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 114 |
|
| 115 |
return (
|
| 116 |
prompt,
|
| 117 |
-
"\n
|
| 118 |
best_combinations_display,
|
| 119 |
", ".join(map(str, best_technologies_id)),
|
| 120 |
best_technologies_display
|
|
|
|
| 111 |
best_combinations_display = json.dumps(safe_best_combinations, indent=2)
|
| 112 |
best_technologies_display = json.dumps(safe_best_technologies, indent=2)
|
| 113 |
|
| 114 |
+
print("best combinations")
|
| 115 |
+
print(best_combinations_display)
|
| 116 |
+
print("\nbest technologies")
|
| 117 |
+
print(best_technologies_display)
|
| 118 |
|
| 119 |
return (
|
| 120 |
prompt,
|
| 121 |
+
"\n".join(f"'{k}': {v}" for k, v in d.items()),
|
| 122 |
best_combinations_display,
|
| 123 |
", ".join(map(str, best_technologies_id)),
|
| 124 |
best_technologies_display
|