Kuronos commited on
Commit
8a48b94
·
1 Parent(s): 1c5972b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -6
app.py CHANGED
@@ -9,12 +9,12 @@ def greet(name):
9
  ret += '\n Current working dir: ' + os.getcwd() + '\n'
10
  return ret
11
 
12
- demo = gr.Interface(fn=greet,
13
- gr.File(file_count="multiple", file_types=[".mid", ".midi"]),
14
- "file",
15
- examples=['ode_to_joy.mid']
16
- )
 
17
 
18
  if __name__ == "__main__":
19
- os.system("pwd")
20
  demo.launch()
 
9
  ret += '\n Current working dir: ' + os.getcwd() + '\n'
10
  return ret
11
 
12
+ demo = gr.Interface(
13
+ greet,
14
+ gr.File(file_types=[".mid", ".midi"]),
15
+ "file",
16
+ examples=['ode_to_joy.mid']
17
+ )
18
 
19
  if __name__ == "__main__":
 
20
  demo.launch()