taesiri commited on
Commit
ec67083
·
1 Parent(s): 6992194

Upload app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -2
app.py CHANGED
@@ -132,7 +132,7 @@ This demo shows how to use the CLIP model to search for gameplay bugs in a video
132
 
133
  # GRADIO APP
134
  iface = gr.Interface(fn=gradio_search,
135
- inputs =[ gr.inputs.Textbox(lines=1, placeholder='Search Query', default="A man in the air", label=None),
136
  gr.inputs.Radio(list_of_games, label="Game To Search"),
137
  gr.inputs.Radio(['ViT-B/32'], label="MODEL"),
138
  gr.inputs.Radio(['Majority', 'Top-K'], label="Aggregator"),
@@ -158,6 +158,8 @@ iface = gr.Interface(fn=gradio_search,
158
  ],
159
  title=title,
160
  description=description,
161
- article=article
 
 
162
  )
163
  iface.launch()
 
132
 
133
  # GRADIO APP
134
  iface = gr.Interface(fn=gradio_search,
135
+ inputs =[ gr.inputs.Textbox(lines=1, placeholder='Search Query', default="A person flying in the air", label=None),
136
  gr.inputs.Radio(list_of_games, label="Game To Search"),
137
  gr.inputs.Radio(['ViT-B/32'], label="MODEL"),
138
  gr.inputs.Radio(['Majority', 'Top-K'], label="Aggregator"),
 
158
  ],
159
  title=title,
160
  description=description,
161
+ article=article,
162
+ enable_queue=True,
163
+ cache_example=True
164
  )
165
  iface.launch()