Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
mariotawfik
commited on
Commit
•
1738c66
1
Parent(s):
e07b55c
changed app.py
Browse files
app.py
CHANGED
@@ -5,12 +5,10 @@ def update(name):
|
|
5 |
return f"Welcome to Gradio, {name}!"
|
6 |
|
7 |
|
8 |
-
with gr.Blocks() as
|
9 |
-
gr.Markdown("Start typing below and then click **Run** to see the output.")
|
10 |
-
with gr.
|
11 |
-
|
12 |
-
|
13 |
-
btn = gr.Button("Run")
|
14 |
-
btn.click(fn=update, inputs=inp, outputs=out)
|
15 |
|
16 |
-
|
|
|
5 |
return f"Welcome to Gradio, {name}!"
|
6 |
|
7 |
|
8 |
+
with gr.Blocks() as app:
|
9 |
+
gr.Markdown("### Start typing below and then click **Run** to see the output.")
|
10 |
+
with gr.Column():
|
11 |
+
gr.File(interactive=False)
|
12 |
+
gr.UploadButton(label="Upload an executable file")
|
|
|
|
|
13 |
|
14 |
+
app.launch()
|