jsakshi commited on
Commit
ee2fff8
·
verified ·
1 Parent(s): 2dc2046

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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="distilgpt2", max_length=100)
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 = []