Spaces:
Running
Running
Update index.html
Browse files- index.html +1 -1
index.html
CHANGED
@@ -35,7 +35,7 @@ import gradio as gr
|
|
35 |
|
36 |
transformers = await import_transformers_js()
|
37 |
pipeline = transformers.pipeline
|
38 |
-
pipe = await pipeline(text-generation', 'Xenova/distilgpt2')
|
39 |
|
40 |
async def classify(text):
|
41 |
return await pipe(text)
|
|
|
35 |
|
36 |
transformers = await import_transformers_js()
|
37 |
pipeline = transformers.pipeline
|
38 |
+
pipe = await pipeline('text-generation', 'Xenova/distilgpt2')
|
39 |
|
40 |
async def classify(text):
|
41 |
return await pipe(text)
|