Upload client.py with huggingface_hub
Browse files
client.py
CHANGED
|
@@ -142,7 +142,8 @@ def run_interactive(client, model, max_tokens, temperature):
|
|
| 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}
|
|
|
|
| 146 |
print(f" {DIM} line two{RESET}")
|
| 147 |
print(f" {DIM} line three'{RESET}")
|
| 148 |
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} either flatten it to a single line or use:{RESET}")
|
| 146 |
+
print(f" {DIM} python client.py --prompt 'line one{RESET}")
|
| 147 |
print(f" {DIM} line two{RESET}")
|
| 148 |
print(f" {DIM} line three'{RESET}")
|
| 149 |
print()
|