# How to input a directory path with file manager?

**URL:** </static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fhow-to-input-a-directory-path-with-file-manager%2F20624%3E%5C
**Category:** 🔒 Gradio\
**Created:** [July 20, 2022, 12:56pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fhow-to-input-a-directory-path-with-file-manager%2F20624 "2022-07-20T12:56:09Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ZuckerStiefel](https://avatars.discourse-cdn.com/v4/letter/z/ac91a4/32.png) [@ZuckerStiefel](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2FZuckerStiefel)%5C
**Post date:** [July 20, 2022, 12:56pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fhow-to-input-a-directory-path-with-file-manager%2F20624%2F1 "2022-07-20T12:56:09Z")

</div>

Hello all.  
I want to save different images to a **path which is to be selected by a file manager**.  
As an example, I use as input:  
`input_files = gr.inputs.File(file_count="multiple",label="Input Files")`  
With this function I can select a folder in the file manager and directly read all files.  
Now I want to be able to select the output folder with the file manager (the output folder is empty) to be able to store generated images there later.  
The only way I can specify an output folder is to create a text box (which is not very nice to use) like  
`output_path = gr.Textbox(value = "/home/user/results/")`  
but typing out paths is not really comfortable

Is there any way to select a folder like gr.input.File and get the original path?  
I would imagine there should be something like:  
`output_path = gr.inputs.path(file_count="directory")`

Thanks for the help  
Alex

---

<div class="post-metadata">

**Author:** ![abidlabs](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/abidlabs/32/21878_2.png) [@abidlabs](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Fabidlabs)%5C
**Post date:** [August 17, 2022, 6:10pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fhow-to-input-a-directory-path-with-file-manager%2F20624%2F2 "2022-08-17T18:10:38Z")

</div>

Hi Alex, apologies for the late reply. This isn’t currently possible as far as I know. Feel free to create an issue around this so that our team can add it to the roadmap! [Issues · gradio-app/gradio (github.com)](https://github.com/gradio-app/gradio/issues)
