ShivanshMathur007 commited on
Commit
94e3b93
1 Parent(s): 3bffb77

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -102,8 +102,9 @@ def process_file(fileobj):
102
  file_name = os.path.basename(fileobj)
103
  destination_path = os.path.join(destination_folder, file_name)
104
  shutil.copyfile(fileobj.name, destination_path)
105
- return str(destination_folder)
106
- # return MOP(destination_folder)
 
107
 
108
 
109
  demo = gr.Interface(
 
102
  file_name = os.path.basename(fileobj)
103
  destination_path = os.path.join(destination_folder, file_name)
104
  shutil.copyfile(fileobj.name, destination_path)
105
+ # return str(destination_folder)
106
+ print(file_name)
107
+ return MOP(destination_folder)
108
 
109
 
110
  demo = gr.Interface(