Upload demo_usage.py with huggingface_hub
Browse files- demo_usage.py +1 -1
demo_usage.py
CHANGED
|
@@ -42,7 +42,7 @@ def main():
|
|
| 42 |
|
| 43 |
# Encode sample texts
|
| 44 |
print(colored("\n[3/3] Testing text encoding...", 'cyan'))
|
| 45 |
-
text = ['someone is folding a paper', 'cutting a paper', 'someone is
|
| 46 |
# NOTE: It can also take a single string
|
| 47 |
|
| 48 |
with torch.no_grad():
|
|
|
|
| 42 |
|
| 43 |
# Encode sample texts
|
| 44 |
print(colored("\n[3/3] Testing text encoding...", 'cyan'))
|
| 45 |
+
text = ['someone is folding a paper', 'cutting a paper', 'someone is unfolding a paper']
|
| 46 |
# NOTE: It can also take a single string
|
| 47 |
|
| 48 |
with torch.no_grad():
|