Spaces:
Sleeping
Sleeping
山越貴耀
commited on
Commit
•
c9efe44
1
Parent(s):
9a3c092
fixed autoplay
Browse files
app.py
CHANGED
@@ -11,6 +11,7 @@ from sentence_transformers import SentenceTransformer
|
|
11 |
from transformers import BertTokenizer,BertForMaskedLM
|
12 |
import cv2
|
13 |
import io
|
|
|
14 |
|
15 |
def load_sentence_model():
|
16 |
sentence_model = SentenceTransformer('paraphrase-distilroberta-base-v1')
|
@@ -189,6 +190,7 @@ if __name__=='__main__':
|
|
189 |
cols = fig_place_holder.columns([1,2,1])
|
190 |
with cols[1]:
|
191 |
fig_place_holder.pyplot(fig)
|
|
|
192 |
fig_place_holder.empty()
|
193 |
else:
|
194 |
if explore_type=='In fixed increments':
|
|
|
11 |
from transformers import BertTokenizer,BertForMaskedLM
|
12 |
import cv2
|
13 |
import io
|
14 |
+
import time
|
15 |
|
16 |
def load_sentence_model():
|
17 |
sentence_model = SentenceTransformer('paraphrase-distilroberta-base-v1')
|
|
|
190 |
cols = fig_place_holder.columns([1,2,1])
|
191 |
with cols[1]:
|
192 |
fig_place_holder.pyplot(fig)
|
193 |
+
time.sleep(1)
|
194 |
fig_place_holder.empty()
|
195 |
else:
|
196 |
if explore_type=='In fixed increments':
|