Spaces:
Sleeping
Sleeping
test model TheBloke/storytime-13B-GPTQ
Browse files
app.py
CHANGED
@@ -1,9 +1,8 @@
|
|
1 |
import gradio as gr
|
2 |
from transformers import pipeline
|
3 |
|
4 |
-
# pipeline = pipeline("text-generation")
|
5 |
-
|
6 |
-
pipeline = pipeline("text-generation", model="isarth/distill_gpt2_story_generator")
|
7 |
|
8 |
def text_generate(input_text):
|
9 |
result = pipeline(input_text)
|
|
|
1 |
import gradio as gr
|
2 |
from transformers import pipeline
|
3 |
|
4 |
+
# pipeline = pipeline("text-generation", model="isarth/distill_gpt2_story_generator")
|
5 |
+
pipeline = pipeline("text-generation", model="TheBloke/storytime-13B-GPTQ")
|
|
|
6 |
|
7 |
def text_generate(input_text):
|
8 |
result = pipeline(input_text)
|