Spaces:
Runtime error
Runtime error
<TextGenLayout>: | |
orientation: 'vertical' | |
padding: 20 | |
spacing: 15 | |
Label: | |
text: "π€ Enter a Prompt for AI Text Generation" | |
font_size: 20 | |
size_hint_y: 0.1 | |
TextInput: | |
id: prompt_input | |
multiline: True | |
hint_text: "Start typing a prompt here..." | |
size_hint_y: 0.3 | |
Button: | |
text: "π§ Generate Text" | |
size_hint_y: 0.15 | |
on_press: root.generate() | |
Label: | |
text: "βοΈ AI Response:" | |
font_size: 18 | |
size_hint_y: 0.1 | |
ScrollView: | |
size_hint_y: 0.35 | |
do_scroll_x: False | |
Label: | |
id: output_box | |
text: "" | |
text_size: self.width, None | |
size_hint_y: None | |
height: self.texture_size[1] | |
font_size: 16 |