Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -500,7 +500,7 @@ def build_single_model_ui(models):
|
|
500 |
"""
|
501 |
|
502 |
learn_more_markdown = """<div class="footer">
|
503 |
-
<p>Powered by <a href="https://github.com/intel/intel-extension-for-transformers" style="text-decoration: underline;" target="_blank">Intel Extension for Transformers</a>
|
504 |
<img src='https://i.postimg.cc/Pfv4vV6R/Microsoft-Teams-image-23.png' class='img-logo-right-style'/></p>
|
505 |
</div>
|
506 |
<div class="acknowledgments">
|
@@ -551,7 +551,7 @@ def build_single_model_ui(models):
|
|
551 |
topk = gr.Slider(
|
552 |
minimum=1,
|
553 |
maximum=10,
|
554 |
-
value=
|
555 |
step=1,
|
556 |
interactive=True,
|
557 |
label="TOP K",
|
@@ -656,7 +656,6 @@ if __name__ == "__main__":
|
|
656 |
|
657 |
controller_url = "http://3.223.220.249:80"
|
658 |
host = "0.0.0.0"
|
659 |
-
# port = "mlp-dgx-01.sh.intel.com"
|
660 |
concurrency_count = 10
|
661 |
model_list_mode = "once"
|
662 |
share = False
|
|
|
500 |
"""
|
501 |
|
502 |
learn_more_markdown = """<div class="footer">
|
503 |
+
<p>Powered by <a href="https://github.com/intel/intel-extension-for-transformers" style="text-decoration: underline;" target="_blank">Intel Extension for Transformers</a>
|
504 |
<img src='https://i.postimg.cc/Pfv4vV6R/Microsoft-Teams-image-23.png' class='img-logo-right-style'/></p>
|
505 |
</div>
|
506 |
<div class="acknowledgments">
|
|
|
551 |
topk = gr.Slider(
|
552 |
minimum=1,
|
553 |
maximum=10,
|
554 |
+
value=1,
|
555 |
step=1,
|
556 |
interactive=True,
|
557 |
label="TOP K",
|
|
|
656 |
|
657 |
controller_url = "http://3.223.220.249:80"
|
658 |
host = "0.0.0.0"
|
|
|
659 |
concurrency_count = 10
|
660 |
model_list_mode = "once"
|
661 |
share = False
|