Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -8,7 +8,7 @@ import os
|
|
| 8 |
import gradio as gr
|
| 9 |
from transformers import pipeline
|
| 10 |
|
| 11 |
-
pipe = pipeline("image-to-text", model="
|
| 12 |
|
| 13 |
def launch(input):
|
| 14 |
out = pipe(input)
|
|
|
|
| 8 |
import gradio as gr
|
| 9 |
from transformers import pipeline
|
| 10 |
|
| 11 |
+
pipe = pipeline("image-to-text", model="Salesforce/blip-image-captioning-base")
|
| 12 |
|
| 13 |
def launch(input):
|
| 14 |
out = pipe(input)
|