AjayP13 commited on
Commit
1b1ed88
·
verified ·
1 Parent(s): 8f360a2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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()