Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,15 +1,4 @@
|
|
| 1 |
-
This script completely replaces the "Boilerplate Chatbot" with a Generative UI (The "Poetry Workshop").
|
| 2 |
|
| 3 |
-
It implements the "Mad Libs" style interface we discussed:
|
| 4 |
-
|
| 5 |
-
Dropdowns for Format and Persona (Hardcoded constraints).
|
| 6 |
-
|
| 7 |
-
Free Text for the Topic (User agency).
|
| 8 |
-
|
| 9 |
-
No Chat History: It focuses on a single, high-quality output.
|
| 10 |
-
|
| 11 |
-
🐍 The "Poetry Workshop" Script
|
| 12 |
-
Python
|
| 13 |
|
| 14 |
import gradio as gr
|
| 15 |
from llama_cpp import Llama
|
|
|
|
|
|
|
| 1 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2 |
|
| 3 |
import gradio as gr
|
| 4 |
from llama_cpp import Llama
|