AstraOS commited on
Commit
438b1f7
·
verified ·
1 Parent(s): 571bda5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -3
app.py CHANGED
@@ -46,11 +46,10 @@ def saveFile(file):
46
  return f"https://emee-nx-storage.hf.space/file=./{file_infor['path']}"
47
 
48
 
49
- #nxapp =
50
- #nxapp.launch()
51
 
52
  with gr.Blocks() as demo:
53
- gr.Interface(fn=saveFile, inputs="file", outputs="text")
54
  gr.FileExplorer(label="Working directory")
55
  gr.FileExplorer(root="/home/user/app", label="Persistent storage")
56
 
 
46
  return f"https://emee-nx-storage.hf.space/file=./{file_infor['path']}"
47
 
48
 
49
+ nxapp = gr.Interface(fn=saveFile, inputs="file", outputs="text")
50
+ nxapp.launch()
51
 
52
  with gr.Blocks() as demo:
 
53
  gr.FileExplorer(label="Working directory")
54
  gr.FileExplorer(root="/home/user/app", label="Persistent storage")
55