freemt commited on
Commit
69b1237
·
1 Parent(s): 94fcac2
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
 
44
  # return res.round(2)
45
  # return pd.DataFrame(res)
46
- return res.tolist()
47
 
48
 
49
  out_df = gr.outputs.Dataframe(
@@ -78,7 +78,7 @@ try:
78
  title="gradio-cmat",
79
  theme="grass",
80
  allow_flagging="never",
81
- layout="vertical",
82
  description="Gen correlation matrix for multlingual texts",
83
  article="Click 'Clear' first for subsequent new texts",
84
  examples=[
 
43
 
44
  # return res.round(2)
45
  # return pd.DataFrame(res)
46
+ return str(res.tolist())
47
 
48
 
49
  out_df = gr.outputs.Dataframe(
 
78
  title="gradio-cmat",
79
  theme="grass",
80
  allow_flagging="never",
81
+ # layout="vertical",
82
  description="Gen correlation matrix for multlingual texts",
83
  article="Click 'Clear' first for subsequent new texts",
84
  examples=[