merge fix

This commit is contained in:
Ali Abid 2021-02-23 11:45:01 -08:00
commit d1a4ae9205
2 changed files with 3 additions and 2 deletions

View File

@ -13,6 +13,7 @@ jobs:
command: |
python3 -m venv venv
. venv/bin/activate
pip install --upgrade pip
pip install -r gradio.egg-info/requires.txt
pip install selenium==4.0.0a6.post2
- save_cache:
@ -30,4 +31,4 @@ jobs:
path: /home/circleci/project/test/tmp
destination: screenshots
- store_test_results:
path: test-reports/
path: test-reports/

View File

@ -256,7 +256,7 @@ const image_input = {
toDataURL(example_data, function(data) {
if (io.source == "canvas") {
io.clear();
let ctx = this.context;
let ctx = io.context;
var img = new Image;
let dimension = io.target.find(".canvas_holder canvas").width();
img.onload = function(){