Update app.py
Browse files
app.py
CHANGED
|
@@ -129,7 +129,7 @@ def generate(input=DEFAULT_INPUT, filter_input="", negative_input=DEFAULT_NEGATI
|
|
| 129 |
|
| 130 |
print(classifier)
|
| 131 |
|
| 132 |
-
return image_paths, {
|
| 133 |
|
| 134 |
def cloud():
|
| 135 |
print("[CLOUD] | Space maintained.")
|
|
|
|
| 129 |
|
| 130 |
print(classifier)
|
| 131 |
|
| 132 |
+
return image_paths, [f"{index['label']}: {index['score']:.3%}" for index in classifier]
|
| 133 |
|
| 134 |
def cloud():
|
| 135 |
print("[CLOUD] | Space maintained.")
|