Spaces:
Paused
Paused
Update main.py
Browse files
main.py
CHANGED
@@ -248,7 +248,7 @@ def predict(input_file):
|
|
248 |
print(input_file)
|
249 |
return input_file
|
250 |
|
251 |
-
|
252 |
demo = gr.Interface(
|
253 |
fn=predict,
|
254 |
inputs=gr.File(file_count="single", file_types=[".mha", ".nii.gz", ".nii"]),
|
@@ -260,5 +260,5 @@ demo = gr.Interface(
|
|
260 |
,
|
261 |
# outputs=gr.Label(num_top_classes=3),
|
262 |
)
|
263 |
-
|
264 |
demo.launch(server_name="0.0.0.0", server_port=7860)
|
|
|
248 |
print(input_file)
|
249 |
return input_file
|
250 |
|
251 |
+
print("Starting interface")
|
252 |
demo = gr.Interface(
|
253 |
fn=predict,
|
254 |
inputs=gr.File(file_count="single", file_types=[".mha", ".nii.gz", ".nii"]),
|
|
|
260 |
,
|
261 |
# outputs=gr.Label(num_top_classes=3),
|
262 |
)
|
263 |
+
print("Launching interface")
|
264 |
demo.launch(server_name="0.0.0.0", server_port=7860)
|