Update template

This commit is contained in:
Jeremy Hummel 2019-09-13 22:09:11 -07:00
commit 53fc0f48c8
2 changed files with 2 additions and 1 deletions

View file

@ -35,7 +35,7 @@
const socket = io.connect('127.0.0.1:5000');
socket.on('preview', function() {
console.log('new preview!');
$('img#preview').src = "{{ url_for('preview_image') }}?random="+new Date().getTime();
$('img#preview').attr("src", "{{ url_for('preview_image') }}?q=" + new Date().getTime());
});
});
</script>

View file

@ -8,3 +8,4 @@ tqdm
ffmpeg-python==0.1.17
git+https://www.github.com/keras-team/keras-contrib.git
Flask==1.1.1
flask-socketio==4.2.1