Spaces:
Running
Running
Stardragon2099
commited on
Commit
·
d8012f6
1
Parent(s):
bbc1ea6
trial change
Browse files
app.py
CHANGED
@@ -244,6 +244,7 @@ with gr.Blocks() as demo:
|
|
244 |
def generate_prompt(method, component_label):
|
245 |
prompts = get_prompt(method, component_label)
|
246 |
return prompts
|
|
|
247 |
method_choice.change(fn=generate_prompt, inputs=[method_choice, componet_choice], outputs=[prompt])
|
248 |
componet_choice.change(fn=generate_prompt, inputs=[method_choice, componet_choice], outputs=[prompt])
|
249 |
|
|
|
244 |
def generate_prompt(method, component_label):
|
245 |
prompts = get_prompt(method, component_label)
|
246 |
return prompts
|
247 |
+
|
248 |
method_choice.change(fn=generate_prompt, inputs=[method_choice, componet_choice], outputs=[prompt])
|
249 |
componet_choice.change(fn=generate_prompt, inputs=[method_choice, componet_choice], outputs=[prompt])
|
250 |
|