optimum-intel-v2

#16
by echarlaix HF Staff - opened
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