kishkath commited on
Commit
e157f89
·
1 Parent(s): c22723e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -54,7 +54,7 @@ params = {
54
  title = "Usage of FastSAM"
55
  description = "Implementation of pre-trained fast-sam model for spaces."
56
 
57
- demo = gr.Interface(inference,inputs=[gr.Image(shape=(32,32),labels="Input Image"),
58
  gr.Checkbox(True,label='Show All Annotations'),
59
  gr.Textbox('',label='Provide the text prompt: '),],
60
  outputs = [gr.Image(shape=(32,32),label='Output').style(width=128,height=128)],
 
54
  title = "Usage of FastSAM"
55
  description = "Implementation of pre-trained fast-sam model for spaces."
56
 
57
+ demo = gr.Interface(inference,inputs=[gr.Image(sources=['clipboard','upload']),
58
  gr.Checkbox(True,label='Show All Annotations'),
59
  gr.Textbox('',label='Provide the text prompt: '),],
60
  outputs = [gr.Image(shape=(32,32),label='Output').style(width=128,height=128)],