Spaces:
Runtime error
Runtime error
A-PolarBear
commited on
Commit
·
433a585
1
Parent(s):
edcffc5
Update app.py
Browse files
app.py
CHANGED
@@ -120,10 +120,6 @@ def predict(input_file, z_axis, model=model, device=device):
|
|
120 |
# Use blocks to set up a more complex demo
|
121 |
with gr.Blocks() as demo:
|
122 |
|
123 |
-
# Show title and description
|
124 |
-
gr.Markdown(title)
|
125 |
-
gr.Markdown(description)
|
126 |
-
|
127 |
with gr.Row():
|
128 |
# Get the input file and slice slider as inputs
|
129 |
input_file = gr.File(label='input file')
|
@@ -158,10 +154,6 @@ with gr.Blocks() as demo:
|
|
158 |
fn=predict,
|
159 |
cache_examples=False
|
160 |
)
|
161 |
-
|
162 |
-
# Show references at the bottom of the demo
|
163 |
-
gr.Markdown(references)
|
164 |
-
|
165 |
|
166 |
# Launch the demo
|
167 |
demo.launch()
|
|
|
120 |
# Use blocks to set up a more complex demo
|
121 |
with gr.Blocks() as demo:
|
122 |
|
|
|
|
|
|
|
|
|
123 |
with gr.Row():
|
124 |
# Get the input file and slice slider as inputs
|
125 |
input_file = gr.File(label='input file')
|
|
|
154 |
fn=predict,
|
155 |
cache_examples=False
|
156 |
)
|
|
|
|
|
|
|
|
|
157 |
|
158 |
# Launch the demo
|
159 |
demo.launch()
|