Commit ·
a05511a
1
Parent(s): 8fe9a5a
remove some examples
Browse files
app.py
CHANGED
|
@@ -37,8 +37,6 @@ compiled_model_ir = ie.compile_model(model=model_ir, device_name="CPU", config=c
|
|
| 37 |
|
| 38 |
a = os.path.join(os.path.dirname(__file__), "files", "dylan.mp4")
|
| 39 |
b = os.path.join(os.path.dirname(__file__), "files", "train14.mp4")
|
| 40 |
-
c = os.path.join(os.path.dirname(__file__), "files", "train3.mp4")
|
| 41 |
-
d = os.path.join(os.path.dirname(__file__), "files", "train29.mp4")
|
| 42 |
|
| 43 |
def sigmoid(x):
|
| 44 |
return 1 / (1 + np.exp(-x))
|
|
@@ -495,8 +493,6 @@ with gr.Blocks() as demo:
|
|
| 495 |
gr.Examples(examples=[
|
| 496 |
[a, True, False, -1, True, 1.0, 0.95],
|
| 497 |
[b, False, True, -1, True, 1.0, 0.95],
|
| 498 |
-
[c, False, False, -1, True, 1.0, 0.95],
|
| 499 |
-
[d, False, False, -1, True, 1.0, 0.95]
|
| 500 |
],
|
| 501 |
inputs=inputs,
|
| 502 |
outputs=[out_text, out_video, out_plot, out_hist],
|
|
|
|
| 37 |
|
| 38 |
a = os.path.join(os.path.dirname(__file__), "files", "dylan.mp4")
|
| 39 |
b = os.path.join(os.path.dirname(__file__), "files", "train14.mp4")
|
|
|
|
|
|
|
| 40 |
|
| 41 |
def sigmoid(x):
|
| 42 |
return 1 / (1 + np.exp(-x))
|
|
|
|
| 493 |
gr.Examples(examples=[
|
| 494 |
[a, True, False, -1, True, 1.0, 0.95],
|
| 495 |
[b, False, True, -1, True, 1.0, 0.95],
|
|
|
|
|
|
|
| 496 |
],
|
| 497 |
inputs=inputs,
|
| 498 |
outputs=[out_text, out_video, out_plot, out_hist],
|