Upload run.py with huggingface_hub
Browse files
run.py
CHANGED
|
@@ -168,11 +168,32 @@ def to_devanagari(user_input):
|
|
| 168 |
|
| 169 |
# Interactive loop
|
| 170 |
print("=" * 55)
|
| 171 |
-
print("
|
| 172 |
print("=" * 55)
|
| 173 |
print("Type a Hindi/Awadhi prompt in Devanagari or English.")
|
| 174 |
-
print("Examples: shri ram |
|
| 175 |
-
print("Type 'quit' or press Ctrl+C to exit.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 176 |
|
| 177 |
while True:
|
| 178 |
try:
|
|
|
|
| 168 |
|
| 169 |
# Interactive loop
|
| 170 |
print("=" * 55)
|
| 171 |
+
print(" MANAS - Model for Awadhi Natural Autoregressive Sequences")
|
| 172 |
print("=" * 55)
|
| 173 |
print("Type a Hindi/Awadhi prompt in Devanagari or English.")
|
| 174 |
+
print("Examples: shri ram | tulsidas | jai shri ram")
|
| 175 |
+
print("Type 'quit' or press Ctrl+C to exit.")
|
| 176 |
+
print()
|
| 177 |
+
print("-" * 55)
|
| 178 |
+
print(" IF HINDI TEXT LOOKS BROKEN (overlapping/garbled):")
|
| 179 |
+
print()
|
| 180 |
+
print(" Windows Terminal (recommended fix):")
|
| 181 |
+
print(" Settings > Profiles > Appearance > Font face")
|
| 182 |
+
print(" -> Set to: Nirmala UI or Mangal")
|
| 183 |
+
print()
|
| 184 |
+
print(" VS Code terminal:")
|
| 185 |
+
print(" Settings > terminal.integrated.fontFamily")
|
| 186 |
+
print(" -> Set to: Nirmala UI")
|
| 187 |
+
print()
|
| 188 |
+
print(" Old cmd.exe / PowerShell window:")
|
| 189 |
+
print(" Right-click title bar > Properties > Font")
|
| 190 |
+
print(" -> Select: NSimSun (best fallback)")
|
| 191 |
+
print()
|
| 192 |
+
print(" Best overall: Use Windows Terminal (free from")
|
| 193 |
+
print(" Microsoft Store) with Nirmala UI font.")
|
| 194 |
+
print("-" * 55)
|
| 195 |
+
print()
|
| 196 |
+
|
| 197 |
|
| 198 |
while True:
|
| 199 |
try:
|