Update README.md
Browse files
README.md
CHANGED
|
@@ -22,9 +22,9 @@ pip install optimum[openvino]
|
|
| 22 |
```
|
| 23 |
|
| 24 |
To load your model you can do as follows:
|
| 25 |
-
|
|
|
|
| 26 |
```python
|
| 27 |
-
#app.py
|
| 28 |
import gradio as gr
|
| 29 |
from huggingface_hub import InferenceClient
|
| 30 |
from optimum.intel import OVModelForCausalLM
|
|
@@ -57,8 +57,8 @@ demo = gr.ChatInterface(fn=respond, title="Chat with Qwen(閫氱京鍗冨晱) 2.5-0.5B
|
|
| 57 |
if __name__ == "__main__":
|
| 58 |
demo.launch()
|
| 59 |
```
|
|
|
|
| 60 |
```requirements.txt
|
| 61 |
-
#requirements.txt
|
| 62 |
huggingface_hub==0.25.2
|
| 63 |
optimum[openvino]
|
| 64 |
```
|
|
|
|
| 22 |
```
|
| 23 |
|
| 24 |
To load your model you can do as follows:
|
| 25 |
+
In huggingface space
|
| 26 |
+
app.py
|
| 27 |
```python
|
|
|
|
| 28 |
import gradio as gr
|
| 29 |
from huggingface_hub import InferenceClient
|
| 30 |
from optimum.intel import OVModelForCausalLM
|
|
|
|
| 57 |
if __name__ == "__main__":
|
| 58 |
demo.launch()
|
| 59 |
```
|
| 60 |
+
requirements.txt
|
| 61 |
```requirements.txt
|
|
|
|
| 62 |
huggingface_hub==0.25.2
|
| 63 |
optimum[openvino]
|
| 64 |
```
|