guidel commited on
Commit
eecdd62
·
1 Parent(s): ecd242d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -22,13 +22,13 @@ def translate(df):
22
  if input_string == '':
23
  pass
24
  else:
25
- df.loc[i, 'Dutch'] = en_nl_translator(input_string)
26
  return df
27
 
28
  input_df = gr.Dataframe(
29
  headers=["English", "Dutch"],
30
  datatype=["str", "str"],
31
- row_count=10,
32
  col_count=(2, "fixed"),
33
  )
34
 
 
22
  if input_string == '':
23
  pass
24
  else:
25
+ df.loc[i, 'Dutch'] = str(en_nl_translator(input_string))
26
  return df
27
 
28
  input_df = gr.Dataframe(
29
  headers=["English", "Dutch"],
30
  datatype=["str", "str"],
31
+ row_count=5,
32
  col_count=(2, "fixed"),
33
  )
34