ysharma HF Staff commited on
Commit
71f2248
·
verified ·
1 Parent(s): 2e3488c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -68,6 +68,7 @@ with gr.Blocks(delete_cache=(5,10),
68
  with gr.Row():
69
  inp = gr.Textbox(placeholder="What is your name?")
70
  out = gr.Image(type='filepath')
 
71
  btn = gr.Button("GO!")
72
  btn.click(create,inputs=[],outputs=[out, inp])
73
 
 
68
  with gr.Row():
69
  inp = gr.Textbox(placeholder="What is your name?")
70
  out = gr.Image(type='filepath')
71
+ gr.FileExplorer(root="/data", label="Persistent storage")
72
  btn = gr.Button("GO!")
73
  btn.click(create,inputs=[],outputs=[out, inp])
74