Spaces:
Sleeping
Sleeping
dafajudin
commited on
Commit
•
521c83c
1
Parent(s):
952b001
update
Browse files
app.py
CHANGED
@@ -1,8 +1,8 @@
|
|
1 |
from transformers import pipeline
|
|
|
2 |
Visual_QA = pipeline(model="jihadzakki/blip1-medvqa")
|
3 |
|
4 |
-
|
5 |
-
import gradio as gr
|
6 |
VisualQAApp = gr.Interface(fn=Visual_QA,
|
7 |
inputs=[
|
8 |
gr.Image(label="Upload image", type="pil"),
|
|
|
1 |
from transformers import pipeline
|
2 |
+
import gradio as gr
|
3 |
Visual_QA = pipeline(model="jihadzakki/blip1-medvqa")
|
4 |
|
5 |
+
|
|
|
6 |
VisualQAApp = gr.Interface(fn=Visual_QA,
|
7 |
inputs=[
|
8 |
gr.Image(label="Upload image", type="pil"),
|