Spaces:
Sleeping
Sleeping
fix: type hint
Browse files
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:
|
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 |
|