Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -20,7 +20,8 @@ def create_random_text_files(directory="/data", num_files=10, file_length=1000):
|
|
20 |
|
21 |
|
22 |
with gr.Blocks() as demo:
|
23 |
-
gr.FileExplorer(
|
|
|
24 |
demo.load(create_random_text_files, None, None)
|
25 |
|
26 |
demo.launch()
|
|
|
20 |
|
21 |
|
22 |
with gr.Blocks() as demo:
|
23 |
+
gr.FileExplorer()
|
24 |
+
gr.FileExplorer(root="/data")
|
25 |
demo.load(create_random_text_files, None, None)
|
26 |
|
27 |
demo.launch()
|