add testing and flask changes

This commit is contained in:
Ali Abid 2020-09-21 12:07:27 -07:00
parent c530ca596a
commit 4560d739ef
2 changed files with 2 additions and 6 deletions

View File

@ -25,4 +25,4 @@ io = gr.Interface(
)
io.test_launch()
io.launch(share=True)
io.launch()

View File

@ -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()