Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -23,7 +23,7 @@ def save_file(file):
|
|
23 |
# Create the Gradio interface
|
24 |
iface = gr.Interface(
|
25 |
fn=save_file, # The function to handle file saving
|
26 |
-
inputs=gr.
|
27 |
outputs="text" # Output: confirmation message with file path
|
28 |
)
|
29 |
|
|
|
23 |
# Create the Gradio interface
|
24 |
iface = gr.Interface(
|
25 |
fn=save_file, # The function to handle file saving
|
26 |
+
inputs=gr.File(), # Input widget to upload a file
|
27 |
outputs="text" # Output: confirmation message with file path
|
28 |
)
|
29 |
|