mirror of
https://github.com/gradio-app/gradio.git
synced 2025-01-06 10:25:17 +08:00
add testing and flask changes
This commit is contained in:
parent
c530ca596a
commit
4560d739ef
@ -25,4 +25,4 @@ io = gr.Interface(
|
||||
)
|
||||
|
||||
io.test_launch()
|
||||
io.launch(share=True)
|
||||
io.launch()
|
||||
|
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user