fix: add missing torch import
#43
by
MonishSaiR
- opened
README.md
CHANGED
|
@@ -32,6 +32,7 @@ Use the code below to get started with the model. All models are trained with fl
|
|
| 32 |
```python
|
| 33 |
import requests
|
| 34 |
|
|
|
|
| 35 |
from PIL import Image
|
| 36 |
from transformers import AutoProcessor, AutoModelForCausalLM
|
| 37 |
|
|
@@ -78,6 +79,7 @@ First, let's define a function to run a prompt.
|
|
| 78 |
```python
|
| 79 |
import requests
|
| 80 |
|
|
|
|
| 81 |
from PIL import Image
|
| 82 |
from transformers import AutoProcessor, AutoModelForCausalLM
|
| 83 |
|
|
|
|
| 32 |
```python
|
| 33 |
import requests
|
| 34 |
|
| 35 |
+
import torch
|
| 36 |
from PIL import Image
|
| 37 |
from transformers import AutoProcessor, AutoModelForCausalLM
|
| 38 |
|
|
|
|
| 79 |
```python
|
| 80 |
import requests
|
| 81 |
|
| 82 |
+
import torch
|
| 83 |
from PIL import Image
|
| 84 |
from transformers import AutoProcessor, AutoModelForCausalLM
|
| 85 |
|