tylermullen commited on
Commit
ed0f516
·
verified ·
1 Parent(s): 7d235fe

Upload bundle.js

Browse files
Files changed (1) hide show
  1. bundle.js +4 -10
bundle.js CHANGED
@@ -9400,7 +9400,7 @@ WebGPU throws: "${t8.message}"`);
9400
  render() {
9401
  const isChrome = navigator.userAgent.includes("Chrome");
9402
  const isEdge = navigator.userAgent.includes("Edg");
9403
- const showNativeFileChooser = !isChrome && !isEdge && isHostedOnHuggingFace();
9404
  return b2`
9405
  <h3>LLM Options</h3>
9406
  <div class="options-grid">
@@ -9641,15 +9641,9 @@ WebGPU throws: "${t8.message}"`);
9641
  return false;
9642
  }
9643
  if (!isChromium()) {
9644
- if (isHostedOnHuggingFace()) {
9645
- alert(
9646
- "Your browser does not support automatic downloading. Please run the demo on Chrome. If you want to try on other browsers, you can download models manually and select them from the file chooser. Models can be found in litert-community's Web Models collection."
9647
- );
9648
- } else {
9649
- alert(
9650
- "Your browser may not have full WebGPU support. Please run the demo on Chrome for the best possible experience."
9651
- );
9652
- }
9653
  }
9654
  var LlmChat = class extends i4 {
9655
  constructor() {
 
9400
  render() {
9401
  const isChrome = navigator.userAgent.includes("Chrome");
9402
  const isEdge = navigator.userAgent.includes("Edg");
9403
+ const showNativeFileChooser = false;
9404
  return b2`
9405
  <h3>LLM Options</h3>
9406
  <div class="options-grid">
 
9641
  return false;
9642
  }
9643
  if (!isChromium()) {
9644
+ alert(
9645
+ "Your browser may not have full WebGPU support. Please run the demo on Chrome for the best possible experience."
9646
+ );
 
 
 
 
 
 
9647
  }
9648
  var LlmChat = class extends i4 {
9649
  constructor() {