Spaces:
Build error
Build error
update app.py device = 'cpu'
Browse files
app.py
CHANGED
@@ -1,7 +1,6 @@
|
|
1 |
import torch
|
2 |
from monai.bundle import ConfigParser
|
3 |
import gradio as gr
|
4 |
-
import json
|
5 |
|
6 |
parser = ConfigParser() # load configuration files that specify various parameters for running the MONAI workflow.
|
7 |
parser.read_config(f="configs/inference.json") # read the config from specified JSON file
|
|
|
1 |
import torch
|
2 |
from monai.bundle import ConfigParser
|
3 |
import gradio as gr
|
|
|
4 |
|
5 |
parser = ConfigParser() # load configuration files that specify various parameters for running the MONAI workflow.
|
6 |
parser.read_config(f="configs/inference.json") # read the config from specified JSON file
|