From 4560d739eff6f50852d57cce81e414568b65f4e5 Mon Sep 17 00:00:00 2001 From: Ali Abid Date: Mon, 21 Sep 2020 12:07:27 -0700 Subject: [PATCH] add testing and flask changes --- demo/diff_texts.py | 2 +- demo/sentence_builder.py | 6 +----- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/demo/diff_texts.py b/demo/diff_texts.py index 629248c663..b4d63f1cd8 100644 --- a/demo/diff_texts.py +++ b/demo/diff_texts.py @@ -25,4 +25,4 @@ io = gr.Interface( ) io.test_launch() -io.launch(share=True) +io.launch() diff --git a/demo/sentence_builder.py b/demo/sentence_builder.py index c95bf6ee33..e7f7c46a88 100644 --- a/demo/sentence_builder.py +++ b/demo/sentence_builder.py @@ -1,5 +1,4 @@ # Demo: (Slider, Dropdown, Radio, CheckboxGroup, Checkbox) -> (Textbox) -print("0 -->") import gradio as gr @@ -24,8 +23,5 @@ io = gr.Interface( [8, "cat", "zoo", ["ate"], True], ]) -# io.test_launch() -a = 1 -print("start -->", a) -a += 1 +io.test_launch() io.launch()