Spaces:
Sleeping
Sleeping
Commit
·
9300970
1
Parent(s):
039500b
Remove sleep time after explain
Browse files
app.py
CHANGED
|
@@ -3,7 +3,6 @@ import streamlit.components.v1 as components
|
|
| 3 |
import streamlit as st
|
| 4 |
import pandas as pd
|
| 5 |
import logging
|
| 6 |
-
import time
|
| 7 |
from deeploy import Client
|
| 8 |
from constants import (
|
| 9 |
relationship_dict,
|
|
@@ -148,7 +147,6 @@ def predict_callback():
|
|
| 148 |
request_body=request_body, deployment_id=st.session_state.deployment_id
|
| 149 |
)
|
| 150 |
st.session_state.exp = exp
|
| 151 |
-
time.sleep(0.5)
|
| 152 |
|
| 153 |
st.session_state.predict_button_clicked = True
|
| 154 |
st.session_state.evaluation_submitted = False
|
|
|
|
| 3 |
import streamlit as st
|
| 4 |
import pandas as pd
|
| 5 |
import logging
|
|
|
|
| 6 |
from deeploy import Client
|
| 7 |
from constants import (
|
| 8 |
relationship_dict,
|
|
|
|
| 147 |
request_body=request_body, deployment_id=st.session_state.deployment_id
|
| 148 |
)
|
| 149 |
st.session_state.exp = exp
|
|
|
|
| 150 |
|
| 151 |
st.session_state.predict_button_clicked = True
|
| 152 |
st.session_state.evaluation_submitted = False
|