Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -22,7 +22,7 @@ model = PaliGemmaForConditionalGeneration.from_pretrained(model_id).eval().to(de
|
|
| 22 |
processor = PaliGemmaProcessor.from_pretrained(model_id)
|
| 23 |
|
| 24 |
###### Transformers Inference
|
| 25 |
-
@spaces.GPU
|
| 26 |
def infer(
|
| 27 |
image: PIL.Image.Image,
|
| 28 |
text: str,
|
|
|
|
| 22 |
processor = PaliGemmaProcessor.from_pretrained(model_id)
|
| 23 |
|
| 24 |
###### Transformers Inference
|
| 25 |
+
# @spaces.GPU
|
| 26 |
def infer(
|
| 27 |
image: PIL.Image.Image,
|
| 28 |
text: str,
|