File size: 283 Bytes
ad17f03
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
import gradio as gr
from utils import *



gradio_app = gr.Interface(
    answer,
    inputs= gr.Image(label="Input Image", sources=['upload', 'webcam'], type="pil"),
    outputs= gr.Text(),
    title="Describe things",
)

if __name__ == '__main__':
    gradio_app.launch(share=True)