A-Duss commited on
Commit
8507606
·
1 Parent(s): 3c7a691

aesthetics

Browse files
Files changed (1) hide show
  1. app.py +4 -3
app.py CHANGED
@@ -42,9 +42,10 @@ optimized_scorer.get_scorer('en')
42
  example_inputs = [
43
  "The Beatles were a popular band in the 1960s. They released many hit songs.",
44
  "Chocolate is a type of sweet food that people often eat for dessert.",
45
- "I'm thinking of going to the beach this weekend. The weather is supposed to be great!",
 
46
  "Quantum mechanics is a fundamental theory in physics that provides a description of the physical properties of nature at the scale of atoms and subatomic particles.",
47
- "Can you believe it's already September? This year is flying by!"
48
  ]
49
 
50
  def get_score(user_text, language):
@@ -181,7 +182,7 @@ with gr.Blocks(theme=theme, css=css) as demo:
181
  info="Type to search",
182
  value="en",
183
  allow_custom_value=True,
184
- scale=4
185
  )
186
 
187
  loaded_languages = gr.HighlightedText(
 
42
  example_inputs = [
43
  "The Beatles were a popular band in the 1960s. They released many hit songs.",
44
  "Chocolate is a type of sweet food that people often eat for dessert.",
45
+ "I'm thinking of going to the beach this weekend. The weather is supposed to be great!",
46
+ "Can you believe it's already September? This year is flying by!",
47
  "Quantum mechanics is a fundamental theory in physics that provides a description of the physical properties of nature at the scale of atoms and subatomic particles.",
48
+
49
  ]
50
 
51
  def get_score(user_text, language):
 
182
  info="Type to search",
183
  value="en",
184
  allow_custom_value=True,
185
+ scale=3
186
  )
187
 
188
  loaded_languages = gr.HighlightedText(