Spaces:
Sleeping
Sleeping
fix svelte form
Browse files
app.py
CHANGED
@@ -53,7 +53,7 @@ with gr.Blocks(title = "LLM Code injection", ) as demo:
|
|
53 |
# Add a text input and output interface
|
54 |
with gr.Row():
|
55 |
api_key_input = gr.Textbox(label="OpenAI API Key", type="password")
|
56 |
-
text_input = gr.Textbox(
|
57 |
|
58 |
with gr.Row():
|
59 |
safe_code_output = gr.Textbox(label = "Code for form", info = "This is the code for the form that you can copy and render yourself by pasting it into a Svelte project.")
|
|
|
53 |
# Add a text input and output interface
|
54 |
with gr.Row():
|
55 |
api_key_input = gr.Textbox(label="OpenAI API Key", type="password")
|
56 |
+
text_input = gr.Textbox(label = "Prompt", placeholder = "Enter a prompt to generate a Svelte form")
|
57 |
|
58 |
with gr.Row():
|
59 |
safe_code_output = gr.Textbox(label = "Code for form", info = "This is the code for the form that you can copy and render yourself by pasting it into a Svelte project.")
|