Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -72,6 +72,6 @@ with gr.Blocks(theme="ParityError/[email protected]") as demo:
|
|
72 |
btn.click(run_tinystyler, [source_text, target_example_texts, reranking, temperature, top_p], output)
|
73 |
|
74 |
# Initialize the fields with the first example
|
75 |
-
example_dropdown.value, source_text.value, target_example_texts.value, reranking.value, temperature.value, top_p.value, output.value = list(preset_examples.keys())[0], set_example(list(preset_examples.keys())[0])
|
76 |
|
77 |
demo.launch()
|
|
|
72 |
btn.click(run_tinystyler, [source_text, target_example_texts, reranking, temperature, top_p], output)
|
73 |
|
74 |
# Initialize the fields with the first example
|
75 |
+
example_dropdown.value, (source_text.value, target_example_texts.value, reranking.value, temperature.value, top_p.value, output.value) = list(preset_examples.keys())[0], set_example(list(preset_examples.keys())[0])
|
76 |
|
77 |
demo.launch()
|