Spaces:
Sleeping
Sleeping
test model tohur/natsumura-storytelling-rp-1.0-llama-3.1-8b
Browse files
app.py
CHANGED
|
@@ -2,7 +2,7 @@ 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="
|
| 6 |
|
| 7 |
def text_generate(input_text):
|
| 8 |
result = pipeline(input_text)
|
|
|
|
| 2 |
from transformers import pipeline
|
| 3 |
|
| 4 |
# pipeline = pipeline("text-generation", model="isarth/distill_gpt2_story_generator")
|
| 5 |
+
pipeline = pipeline("text-generation", model="tohur/natsumura-storytelling-rp-1.0-llama-3.1-8b")
|
| 6 |
|
| 7 |
def text_generate(input_text):
|
| 8 |
result = pipeline(input_text)
|