Spaces:
Runtime error

mihozzv commited on
Commit
08da8df
·
verified ·
1 Parent(s): 793d971

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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 = gr.FileExplorer(value="str", file_count="single", root_dir="../../..",)
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="")