Update index.html
Browse files- index.html +2 -2
index.html
CHANGED
@@ -6,13 +6,13 @@
|
|
6 |
<body>
|
7 |
<gradio-lite>
|
8 |
<gradio-requirements>
|
9 |
-
|
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-
|
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():
|