Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -85,7 +85,7 @@ def inference(audio, latest):
|
|
85 |
|
86 |
infers = pd.Series(inferred)
|
87 |
infersNew = infers.str.split(",", n=-1, expand=True)
|
88 |
-
print("USEAGE: ", response['usage'][
|
89 |
|
90 |
#infers.drop_duplicates(keep='first', inplace=True)
|
91 |
print("Infers DataType ", type(infers), "Infers after drop: ", infers, "Infers at 0: ", infers[0])
|
|
|
85 |
|
86 |
infers = pd.Series(inferred)
|
87 |
infersNew = infers.str.split(",", n=-1, expand=True)
|
88 |
+
print("USEAGE: ", response['usage']['completion_tokens'])
|
89 |
|
90 |
#infers.drop_duplicates(keep='first', inplace=True)
|
91 |
print("Infers DataType ", type(infers), "Infers after drop: ", infers, "Infers at 0: ", infers[0])
|