Spaces:
Runtime error
Runtime error
gokaygokay
commited on
Commit
•
63296c8
1
Parent(s):
eef1455
prompt_types
Browse files- ui_components.py +2 -1
ui_components.py
CHANGED
@@ -109,7 +109,8 @@ def create_interface():
|
|
109 |
prompt_type = gr.Dropdown(
|
110 |
choices=["happy", "simple", "poster", "only_objects", "no_figure", "landscape", "fantasy"],
|
111 |
label="Prompt Type",
|
112 |
-
value="happy"
|
|
|
113 |
)
|
114 |
custom_base_prompt = gr.Textbox(label="Custom Base Prompt", lines=5)
|
115 |
generate_text_button = gr.Button("Generate Prompt with LLM (Llama 3.1 70B)")
|
|
|
109 |
prompt_type = gr.Dropdown(
|
110 |
choices=["happy", "simple", "poster", "only_objects", "no_figure", "landscape", "fantasy"],
|
111 |
label="Prompt Type",
|
112 |
+
value="happy",
|
113 |
+
interactive=True
|
114 |
)
|
115 |
custom_base_prompt = gr.Textbox(label="Custom Base Prompt", lines=5)
|
116 |
generate_text_button = gr.Button("Generate Prompt with LLM (Llama 3.1 70B)")
|