Spaces:
Running
Running
Update src/modules/file_processing.py
Browse files
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)
|