Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -75,7 +75,7 @@ def classify(image_path, text_input):
|
|
75 |
|
76 |
reply = response["choices"][0]["message"]["content"]
|
77 |
|
78 |
-
output.append({"type": max_label, "prediction_value":
|
79 |
|
80 |
return output # Return the populated output list
|
81 |
else:
|
|
|
75 |
|
76 |
reply = response["choices"][0]["message"]["content"]
|
77 |
|
78 |
+
output.append({"type": max_label, "prediction_value": rounded_value, "content": reply})
|
79 |
|
80 |
return output # Return the populated output list
|
81 |
else:
|