Rakesh30 commited on
Commit
e071757
·
1 Parent(s): b41511f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -85,7 +85,7 @@ def getOutput(text, size=1000):
85
 
86
  output=[]
87
  for idx in get_top_k_matches(np_array,5,sentences):
88
- output.append("title = "+df.iloc[idx]['Title']+" "*5+" Plot = "+df.iloc[idx]['Plot']})
89
  return output
90
  iface = gr.Interface(fn=getOutput,
91
  inputs=[gr.inputs.Textbox(label="Text")],
 
85
 
86
  output=[]
87
  for idx in get_top_k_matches(np_array,5,sentences):
88
+ output.append("title = "+df.iloc[idx]['Title']+" "*5+" Plot = "+df.iloc[idx]['Plot'])
89
  return output
90
  iface = gr.Interface(fn=getOutput,
91
  inputs=[gr.inputs.Textbox(label="Text")],