Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -589,7 +589,7 @@ import gradio as gr
|
|
| 589 |
from transformers import pipeline
|
| 590 |
|
| 591 |
# Load a lightweight text generation model from Hugging Face
|
| 592 |
-
generator = pipeline("text-generation", model="
|
| 593 |
|
| 594 |
# Initialize story state
|
| 595 |
story_history = []
|
|
|
|
| 589 |
from transformers import pipeline
|
| 590 |
|
| 591 |
# Load a lightweight text generation model from Hugging Face
|
| 592 |
+
generator = pipeline("text-generation", model="TinyLlama/TinyLlama-1.1B-Chat-v1.0", max_length=100)
|
| 593 |
|
| 594 |
# Initialize story state
|
| 595 |
story_history = []
|