miojizzy commited on
Commit
a81f11a
·
1 Parent(s): b2e0923

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -1
app.py CHANGED
@@ -63,4 +63,11 @@ def my_function(x, progress=gr.Progress()):
63
  for i in progress.tqdm(range(100)):
64
  time.sleep(0.1)
65
  return x
66
- gr.Interface(my_function, gr.Textbox(), gr.Textbox()).queue().launch()
 
 
 
 
 
 
 
 
63
  for i in progress.tqdm(range(100)):
64
  time.sleep(0.1)
65
  return x
66
+
67
+ demo = gr.Interface(
68
+ my_function,
69
+ gr.Textbox(),
70
+ gr.Textbox()
71
+ )
72
+
73
+ demo.queue().launch()