Spaces:
Sleeping
Sleeping
Update app.py
Browse filesUpdated the Model Name in Line 36
app.py
CHANGED
|
@@ -33,10 +33,10 @@ def generate_story(prompt, max_length=300, temperature=0.8):
|
|
| 33 |
|
| 34 |
# Gradio UI
|
| 35 |
with gr.Blocks() as demo:
|
| 36 |
-
gr.Markdown("# 📖 Interactive Story Generator (
|
| 37 |
-
gr.Markdown("Type a prompt and let the AI continue your story with a powerful
|
| 38 |
prompt = gr.Textbox(
|
| 39 |
-
label="
|
| 40 |
placeholder="e.g., In the far future, humanity discovered a hidden planet...",
|
| 41 |
lines=3
|
| 42 |
)
|
|
|
|
| 33 |
|
| 34 |
# Gradio UI
|
| 35 |
with gr.Blocks() as demo:
|
| 36 |
+
gr.Markdown("# 📖 Interactive Story Generator (TinyLlama/TinyLlama-1.1B-Chat-v1.0)")
|
| 37 |
+
gr.Markdown("Type a prompt and let the AI continue your story with a powerful 1.1B model.")
|
| 38 |
prompt = gr.Textbox(
|
| 39 |
+
label="My Story Prompt",
|
| 40 |
placeholder="e.g., In the far future, humanity discovered a hidden planet...",
|
| 41 |
lines=3
|
| 42 |
)
|