Spaces:
Runtime error
Runtime error
yuanze1024
commited on
Commit
•
9d82ad9
1
Parent(s):
def39ee
fix bugs
Browse files
app.py
CHANGED
@@ -7,9 +7,6 @@ from PIL import Image
|
|
7 |
from datasets import load_dataset
|
8 |
from feature_extractors.uni3d_embedding_encoder import Uni3dEmbeddingEncoder
|
9 |
|
10 |
-
os.environ['HTTP_PROXY'] = 'http://192.168.48.17:18000'
|
11 |
-
os.environ['HTTPS_PROXY'] = 'http://192.168.48.17:18000'
|
12 |
-
|
13 |
MAX_BATCH_SIZE = 16
|
14 |
MAX_QUEUE_SIZE = 10
|
15 |
MAX_K_RETRIEVAL = 20
|
@@ -191,10 +188,6 @@ The color surrounding the 3D model indicates whether it is a good fit for the te
|
|
191 |
query_id.submit(get_sub_dataset, query_id, [query, difficulty, output2])
|
192 |
|
193 |
demo.queue(max_size=10)
|
194 |
-
|
195 |
-
os.environ.pop('HTTP_PROXY')
|
196 |
-
os.environ.pop('HTTPS_PROXY')
|
197 |
-
|
198 |
demo.launch(server_name='0.0.0.0')
|
199 |
|
200 |
if __name__ == "__main__":
|
|
|
7 |
from datasets import load_dataset
|
8 |
from feature_extractors.uni3d_embedding_encoder import Uni3dEmbeddingEncoder
|
9 |
|
|
|
|
|
|
|
10 |
MAX_BATCH_SIZE = 16
|
11 |
MAX_QUEUE_SIZE = 10
|
12 |
MAX_K_RETRIEVAL = 20
|
|
|
188 |
query_id.submit(get_sub_dataset, query_id, [query, difficulty, output2])
|
189 |
|
190 |
demo.queue(max_size=10)
|
|
|
|
|
|
|
|
|
191 |
demo.launch(server_name='0.0.0.0')
|
192 |
|
193 |
if __name__ == "__main__":
|