Update app.py
Browse files
app.py
CHANGED
|
@@ -4,6 +4,6 @@ from pathlib import Path
|
|
| 4 |
|
| 5 |
with gr.Blocks() as demo:
|
| 6 |
gr.Image(type="filepath")
|
| 7 |
-
gr.File
|
| 8 |
|
| 9 |
demo.launch(root_path="/", allowed_paths="")
|
|
|
|
| 4 |
|
| 5 |
with gr.Blocks() as demo:
|
| 6 |
gr.Image(type="filepath")
|
| 7 |
+
gr.File(gr.FileExplorer(value="str", file_count="single", root_dir="../../..",))
|
| 8 |
|
| 9 |
demo.launch(root_path="/", allowed_paths="")
|