Spaces:
Sleeping
Sleeping
marcellohalfeld
commited on
Commit
•
3176bad
1
Parent(s):
7f0d03a
Update app.py
Browse files
app.py
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
from transformers import pipeline
|
2 |
import gradio as gr
|
3 |
|
4 |
-
pipe = pipeline("image-
|
5 |
|
6 |
gr.Interface.from_pipeline(pipe).launch()
|
|
|
1 |
from transformers import pipeline
|
2 |
import gradio as gr
|
3 |
|
4 |
+
pipe = pipeline("image-to-text", model="facebook/nougat-base")
|
5 |
|
6 |
gr.Interface.from_pipeline(pipe).launch()
|