Update yolos_minimal_inference_example.py
Browse files
yolos_minimal_inference_example.py
CHANGED
@@ -10,11 +10,6 @@ Original file is located at
|
|
10 |
|
11 |
First, we install the HuggingFace Transformers library (from source for now, as the model was just added to the library and not yet included in a new PyPi release).
|
12 |
"""
|
13 |
-
|
14 |
-
!pip install -q git+https://github.com/huggingface/transformers.git
|
15 |
-
|
16 |
-
pip install gradio
|
17 |
-
|
18 |
import gradio as gr
|
19 |
from gradio.mix import Series
|
20 |
from PIL import Image
|
|
|
10 |
|
11 |
First, we install the HuggingFace Transformers library (from source for now, as the model was just added to the library and not yet included in a new PyPi release).
|
12 |
"""
|
|
|
|
|
|
|
|
|
|
|
13 |
import gradio as gr
|
14 |
from gradio.mix import Series
|
15 |
from PIL import Image
|