albertvillanova HF staff commited on
Commit
b23b938
·
verified ·
1 Parent(s): 4c7ebd5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -6,4 +6,5 @@ def my_function(x, progress=gr.Progress()):
6
  for i in progress.tqdm(range(100)):
7
  time.sleep(0.1)
8
  return x
9
- gr.Interface(my_function, gr.Textbox(), gr.Textbox()).queue().launch()
 
 
6
  for i in progress.tqdm(range(100)):
7
  time.sleep(0.1)
8
  return x
9
+ # gr.Interface(my_function, gr.Textbox(), gr.Textbox()).queue().launch()
10
+ gr.Interface(my_function, gr.Textbox(), gr.HTML()).queue().launch()