Spaces:
Runtime error
Runtime error
Update dep
Browse files- app.py +4 -0
- requirements.txt +1 -2
app.py
CHANGED
@@ -1,6 +1,10 @@
|
|
1 |
import gradio as gr
|
2 |
from huggingface_hub import InferenceClient
|
3 |
|
|
|
|
|
|
|
|
|
4 |
"""
|
5 |
For more information on `huggingface_hub` Inference API support, please check the docs: https://huggingface.co/docs/huggingface_hub/v0.22.2/en/guides/inference
|
6 |
"""
|
|
|
1 |
import gradio as gr
|
2 |
from huggingface_hub import InferenceClient
|
3 |
|
4 |
+
import os
|
5 |
+
os.system("curl https://sh.rustup.rs -sSf | sh -s -- -y")
|
6 |
+
os.system("pip install mistralrs")
|
7 |
+
|
8 |
"""
|
9 |
For more information on `huggingface_hub` Inference API support, please check the docs: https://huggingface.co/docs/huggingface_hub/v0.22.2/en/guides/inference
|
10 |
"""
|
requirements.txt
CHANGED
@@ -1,2 +1 @@
|
|
1 |
-
huggingface_hub==0.22.2
|
2 |
-
mistralrs==0.1.16
|
|
|
1 |
+
huggingface_hub==0.22.2
|
|