mirror of
https://github.com/wassname/stampy-chat.git
synced 2026-10-02 12:50:11 +08:00
fix logging times
This commit is contained in:
1 parent
8e99e566fe
commit
b292e76fae
2 files changed
+3
-3
No files matched your search
+1
-1
@@ -154,7 +154,7 @@ def talk_to_robot_internal(index, query: str, history: List[Dict[str, str]], k:
|
||||
|
||||
|
||||
t2 = time.time()
|
||||
print("Time to get response: ", t2 - t1, " s")
|
||||
print(f'Time to get response: {t2-t1:.2f}s')
|
||||
|
||||
if DEBUG_PRINT:
|
||||
print('\n' * 10)
|
||||
|
||||
Reference in new issue
Block a user