Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -107,7 +107,9 @@ with st.sidebar:
|
|
107 |
st.title("text")
|
108 |
|
109 |
if submitted:
|
110 |
-
trainer
|
111 |
-
|
|
|
|
|
112 |
st.success(f"Success with the inference of {model_name}")
|
113 |
|
|
|
107 |
st.title("text")
|
108 |
|
109 |
if submitted:
|
110 |
+
with st.spinner('Creating the trainer class instance...'):
|
111 |
+
trainer = Trainer(model_configs[model_name])
|
112 |
+
with st.spinner('Running inference function...')
|
113 |
+
trainer.inference()
|
114 |
st.success(f"Success with the inference of {model_name}")
|
115 |
|