Upload client.py with huggingface_hub
Browse files
client.py
CHANGED
|
@@ -141,8 +141,8 @@ def run_interactive(client, model, max_tokens, temperature):
|
|
| 141 |
print()
|
| 142 |
print(f" Connected to {BOLD}{model}{RESET}")
|
| 143 |
print(f" Type your message and press Enter. Type {BOLD}quit{RESET} or Ctrl+C to exit.")
|
| 144 |
-
print(f" {DIM}Note:
|
| 145 |
-
print(f" {DIM}
|
| 146 |
print()
|
| 147 |
|
| 148 |
while True:
|
|
|
|
| 141 |
print()
|
| 142 |
print(f" Connected to {BOLD}{model}{RESET}")
|
| 143 |
print(f" Type your message and press Enter. Type {BOLD}quit{RESET} or Ctrl+C to exit.")
|
| 144 |
+
print(f" {DIM}Note: interactive mode is single-line only. For multiline prompts,{RESET}")
|
| 145 |
+
print(f" {DIM} use: python client.py --prompt \"your\\nmultiline\\nprompt\"{RESET}")
|
| 146 |
print()
|
| 147 |
|
| 148 |
while True:
|