akhaliq HF staff commited on
Commit
90fbc88
·
verified ·
1 Parent(s): 017e3ec

Update index.html

Browse files
Files changed (1) hide show
  1. index.html +2 -2
index.html CHANGED
@@ -6,13 +6,13 @@
6
  <body>
7
  <gradio-lite>
8
  <gradio-requirements>
9
- git+https://github.com/whitphx/transformers.js.py.git
10
  </gradio-requirements>
11
  <gradio-file name="app.py" entrypoint>
12
  from transformers_js import pipeline
13
  import gradio as gr
14
 
15
- fortune_generator = await pipeline('text-generation', 'Xenova/Phi-3-mini-4k-instruct')
16
 
17
  async def generate_fortune(name):
18
  if not name.strip():
 
6
  <body>
7
  <gradio-lite>
8
  <gradio-requirements>
9
+ transformers-js-py
10
  </gradio-requirements>
11
  <gradio-file name="app.py" entrypoint>
12
  from transformers_js import pipeline
13
  import gradio as gr
14
 
15
+ fortune_generator = await pipeline('text-generation', 'Xenova/Phi-3-mini-4k-instruct_fp16')
16
 
17
  async def generate_fortune(name):
18
  if not name.strip():