echarlaix HF Staff commited on
Commit
2e664d4
·
1 Parent(s): 058333d

optimum-intel-v2 (#16)

Browse files

- Update requirements.txt to add optimum-intel v2.0 (f4e59fb54f6f03271bd694de21ffbd92b83a5e09)
- update installation instructions (2a93a4266c9101f8a91a0ff5974304de95c77460)

Files changed (2) hide show
  1. app.py +1 -1
  2. requirements.txt +5 -2
app.py CHANGED
@@ -145,7 +145,7 @@ def export(model_id: str, private_repo: bool, overwritte: bool, oauth_token: gr.
145
  First make sure you have optimum-intel installed:
146
 
147
  ```bash
148
- pip install optimum[openvino]
149
  ```
150
 
151
  To load your model you can do as follows:
 
145
  First make sure you have optimum-intel installed:
146
 
147
  ```bash
148
+ pip install optimum-intel
149
  ```
150
 
151
  To load your model you can do as follows:
requirements.txt CHANGED
@@ -1,3 +1,6 @@
1
- optimum-intel[openvino,diffusers]==1.27
 
 
 
2
  gradio[oauth]==5.50.0
3
- gradio_huggingfacehub_search==0.0.12
 
1
+ optimum-intel==2.0
2
+ transformers==5.0
3
+ diffusers==0.38
4
+ accelerate
5
  gradio[oauth]==5.50.0
6
+ gradio_huggingfacehub_search==0.0.12