Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -99,12 +99,7 @@ class Reviewer:
|
|
99 |
usage = str(e)
|
100 |
print("********"*10)
|
101 |
print(result)
|
102 |
-
print("********"*10)
|
103 |
-
print("prompt_token_used:", response.usage.prompt_tokens)
|
104 |
-
print("completion_token_used:", response.usage.completion_tokens)
|
105 |
-
print("total_token_used:", response.usage.total_tokens)
|
106 |
-
print("response_time:", response.response_ms/1000.0, 's')
|
107 |
-
|
108 |
return result, usage
|
109 |
|
110 |
|
|
|
99 |
usage = str(e)
|
100 |
print("********"*10)
|
101 |
print(result)
|
102 |
+
print("********"*10)
|
|
|
|
|
|
|
|
|
|
|
103 |
return result, usage
|
104 |
|
105 |
|