Politrees commited on
Commit
003348b
·
verified ·
1 Parent(s): 3a02ece

Update src/modules/file_processing.py

Browse files
Files changed (1) hide show
  1. src/modules/file_processing.py +4 -4
src/modules/file_processing.py CHANGED
@@ -1,4 +1,4 @@
1
- import gradio as gr
2
-
3
- def process_file_upload(file):
4
- return gr.update(value=file)
 
1
+ import gradio as gr
2
+
3
+ def process_file_upload(file):
4
+ return file.name, gr.update(value=file.name)