Commit
•
fa8b0cf
1
Parent(s):
2981c9d
add credits
Browse files
app.py
CHANGED
@@ -80,6 +80,8 @@ def inference(source,
|
|
80 |
postprocess(new_predictions, output_name)
|
81 |
return f'{output_path}/{output_name}', f'{output_path}/original.mp4'
|
82 |
|
|
|
|
|
83 |
iface = gr.Interface(
|
84 |
inference, # main function
|
85 |
inputs = [
|
@@ -95,5 +97,6 @@ iface = gr.Interface(
|
|
95 |
|
96 |
title = 'Next-Frame Video Prediction with Convolutional LSTMs',
|
97 |
# description = "This app is an unofficial demo web app of the Next-Frame Video Prediction with Convolutional LSTMs by Keras.",
|
|
|
98 |
examples = samples,
|
99 |
).launch(enable_queue=True, cache_examples=True)
|
|
|
80 |
postprocess(new_predictions, output_name)
|
81 |
return f'{output_path}/{output_name}', f'{output_path}/original.mp4'
|
82 |
|
83 |
+
article = "<div style='text-align: center;'><a href='https://nouamanetazi.me/' target='_blank'>Space by Nouamane Tazi</a><br><a href='https://keras.io/examples/vision/conv_lstm/' target='_blank'>Keras example by Amogh Joshi</a></div>"
|
84 |
+
|
85 |
iface = gr.Interface(
|
86 |
inference, # main function
|
87 |
inputs = [
|
|
|
97 |
|
98 |
title = 'Next-Frame Video Prediction with Convolutional LSTMs',
|
99 |
# description = "This app is an unofficial demo web app of the Next-Frame Video Prediction with Convolutional LSTMs by Keras.",
|
100 |
+
article = article,
|
101 |
examples = samples,
|
102 |
).launch(enable_queue=True, cache_examples=True)
|