Spaces:
Sleeping
Sleeping
ShivanshMathur007
commited on
Commit
•
6029b8b
1
Parent(s):
b17ee83
Update app.py
Browse files
app.py
CHANGED
@@ -98,11 +98,12 @@ Make sure to accurately evaluate the alignment of the "Post-Check Procedures" p
|
|
98 |
|
99 |
|
100 |
def process_file(fileobj):
|
101 |
-
destination_folder=
|
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
|
|
|
106 |
|
107 |
|
108 |
demo = gr.Interface(
|
|
|
98 |
|
99 |
|
100 |
def process_file(fileobj):
|
101 |
+
destination_folder='data'
|
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(desination_folder)
|
106 |
+
# return MOP(destination_folder)
|
107 |
|
108 |
|
109 |
demo = gr.Interface(
|