Spaces:
Runtime error
Runtime error
HAcking.
Browse files
app.py
CHANGED
|
@@ -3,10 +3,14 @@ import subprocess
|
|
| 3 |
import tokenizers
|
| 4 |
|
| 5 |
|
|
|
|
| 6 |
subprocess.run(
|
| 7 |
-
"
|
|
|
|
| 8 |
shell=True,
|
| 9 |
)
|
|
|
|
|
|
|
| 10 |
subprocess.run("pip install -U pip", shell=True)
|
| 11 |
subprocess.run(
|
| 12 |
"pip install -e git+https://github.com/huggingface/tokenizers/#egg=tokenizers\&subdirectory=bindings/python",
|
|
|
|
| 3 |
import tokenizers
|
| 4 |
|
| 5 |
|
| 6 |
+
print("Getting rustup")
|
| 7 |
subprocess.run(
|
| 8 |
+
"cu"
|
| 9 |
+
+ "rl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- --no-prompt",
|
| 10 |
shell=True,
|
| 11 |
)
|
| 12 |
+
print("Got rustup")
|
| 13 |
+
subprocess.run("rustc --version", shell=True)
|
| 14 |
subprocess.run("pip install -U pip", shell=True)
|
| 15 |
subprocess.run(
|
| 16 |
"pip install -e git+https://github.com/huggingface/tokenizers/#egg=tokenizers\&subdirectory=bindings/python",
|