Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -63,6 +63,9 @@ def chat(inst, history):
|
|
63 |
total_time = time.time() - start
|
64 |
output_token_len = len(tokenizer.encode(outputs, add_special_tokens=False))
|
65 |
speed = output_token_len / total_time
|
|
|
|
|
|
|
66 |
print(f"Speed: {speed:.2f} tokens/s")
|
67 |
|
68 |
|
|
|
63 |
total_time = time.time() - start
|
64 |
output_token_len = len(tokenizer.encode(outputs, add_special_tokens=False))
|
65 |
speed = output_token_len / total_time
|
66 |
+
print("----------")
|
67 |
+
print(history)
|
68 |
+
print(inst)
|
69 |
print(f"Speed: {speed:.2f} tokens/s")
|
70 |
|
71 |
|