Update app.py
Browse files
app.py
CHANGED
@@ -1,7 +1,10 @@
|
|
1 |
-
|
2 |
|
3 |
-
|
|
|
|
|
4 |
|
5 |
-
|
6 |
-
|
7 |
-
|
|
|
|
1 |
+
import gradio as gr
|
2 |
|
3 |
+
def upload_file(files):
|
4 |
+
file_paths = [file.name for file in files]
|
5 |
+
return file_paths
|
6 |
|
7 |
+
with gr.Blocks() as demo:
|
8 |
+
gr.Image(label="Upload an Image")
|
9 |
+
|
10 |
+
demo.launch()
|