freemt commited on
Commit
fd0bac7
·
1 Parent(s): bace2bf
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -43,7 +43,7 @@ def fn(text1: str, text2: str) -> Union[List[Any], str]:
43
  return str(e)
44
  # raise
45
 
46
- squarer = lambda x: round(x, 2)
47
  vfunc = np.vectorize(round2)
48
 
49
  return vfunc(res)
@@ -83,7 +83,7 @@ try:
83
  title="gradio-cmat",
84
  theme="grass",
85
  allow_flagging="never",
86
- # layout="vertical",
87
  description="Gen correlation matrix for multlingual texts",
88
  article="Click 'Clear' first for subsequent new texts",
89
  examples=[
 
43
  return str(e)
44
  # raise
45
 
46
+ round2 = lambda x: round(x, 2)
47
  vfunc = np.vectorize(round2)
48
 
49
  return vfunc(res)
 
83
  title="gradio-cmat",
84
  theme="grass",
85
  allow_flagging="never",
86
+ layout="vertical",
87
  description="Gen correlation matrix for multlingual texts",
88
  article="Click 'Clear' first for subsequent new texts",
89
  examples=[