Closed
Description
Describe the bug
Since update #6550 in fileExplorer I can no longer recursively list only directories with parameter glob='**/'. This worked in version 4.7.1. Now it only displays directories in the root directory.
I'm terrible with glob, maybe there's a better approach (that works) for my case, however I affirm that this worked before the fix #6550
thx
Have you searched existing issues? 🔎
- I have searched and found no existing issues
Reproduction
import gradio as gr
from google.colab import drive
import os
if not os.path.exists("/content/drive/MyDrive/") :
drive.mount('/content/drive/')
with gr.Blocks() as demo:
with gr.Tab("Collecter des documents"):
output_folder = gr.FileExplorer(glob="**/", file_count="single")
demo.launch(debug=True)
Screenshot
Logs
No response
System Info
Gradio Environment Information:
------------------------------
Operating System: Linux
gradio version: 4.8.0
gradio_client version: 0.7.1
------------------------------------------------
gradio dependencies in your environment:
aiofiles: 23.2.1
altair: 4.2.2
fastapi: 0.104.1
ffmpy: 0.3.1
gradio-client==0.7.1 is not installed.
httpx: 0.25.2
huggingface-hub: 0.19.4
importlib-resources: 6.1.1
jinja2: 3.1.2
markupsafe: 2.1.3
matplotlib: 3.7.1
numpy: 1.23.5
orjson: 3.9.10
packaging: 23.2
pandas: 1.5.3
pillow: 9.4.0
pydantic: 2.5.2
pydub: 0.25.1
python-multipart: 0.0.6
pyyaml: 6.0.1
requests: 2.31.0
semantic-version: 2.10.0
tomlkit==0.12.0 is not installed.
typer: 0.9.0
typing-extensions: 4.8.0
uvicorn: 0.24.0.post1
authlib; extra == 'oauth' is not installed.
itsdangerous; extra == 'oauth' is not installed.
gradio_client dependencies in your environment:
fsspec: 2023.6.0
httpx: 0.25.2
huggingface-hub: 0.19.4
packaging: 23.2
requests: 2.31.0
typing-extensions: 4.8.0
websockets: 11.0.3
Severity
Blocking usage of gradio