fibmskrt commited on
Commit
7de8636
1 Parent(s): 33dfe7b

fix: type hint

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -30,7 +30,7 @@ def create_temp_file(path: str) -> str:
30
  return temp_path
31
 
32
 
33
- def main(property: str, data_file: str):
34
 
35
  print(data_file, data_file.orig_name, data_file.name)
36
 
 
30
  return temp_path
31
 
32
 
33
+ def main(property: str, data_file: gr.File):
34
 
35
  print(data_file, data_file.orig_name, data_file.name)
36