Disable flagging
Browse files
app.py
CHANGED
@@ -95,7 +95,7 @@ def main(video, query, model, cfg, fig, ax):
|
|
95 |
|
96 |
model, cfg = init_model(CONFIG, WEIGHT)
|
97 |
|
98 |
-
plt.tight_layout(rect=(0.02, 0.
|
99 |
fig, ax = plt.subplots(figsize=(10, 5.5))
|
100 |
|
101 |
demo = gr.Interface(
|
@@ -107,7 +107,7 @@ demo = gr.Interface(
|
|
107 |
headers=['Start Time', 'End Time', 'Score'], label='Moment Retrieval'),
|
108 |
gr.Plot(label='Highlight Detection')
|
109 |
],
|
110 |
-
allow_flagging='
|
111 |
title=TITLE,
|
112 |
description=DESCRIPTION)
|
113 |
demo.launch()
|
|
|
95 |
|
96 |
model, cfg = init_model(CONFIG, WEIGHT)
|
97 |
|
98 |
+
plt.tight_layout(rect=(0.02, 0.05, 0.95, 0.885))
|
99 |
fig, ax = plt.subplots(figsize=(10, 5.5))
|
100 |
|
101 |
demo = gr.Interface(
|
|
|
107 |
headers=['Start Time', 'End Time', 'Score'], label='Moment Retrieval'),
|
108 |
gr.Plot(label='Highlight Detection')
|
109 |
],
|
110 |
+
allow_flagging='never',
|
111 |
title=TITLE,
|
112 |
description=DESCRIPTION)
|
113 |
demo.launch()
|