Shamima commited on
Commit
3c94e52
·
1 Parent(s): 11b8e37

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -47,7 +47,7 @@ def get_code(query):
47
 
48
  return data_df.iloc[similar_item_ids[0]]['function_body'] , data_df.iloc[similar_item_ids[0]]['file_path']
49
 
50
- iface = gr.Interface(fn=get_code, inputs="text", outputs=[gr.Markdown(), "text"])
51
  iface.launch()
52
 
53
 
 
47
 
48
  return data_df.iloc[similar_item_ids[0]]['function_body'] , data_df.iloc[similar_item_ids[0]]['file_path']
49
 
50
+ iface = gr.Interface(fn=get_code, inputs="text", outputs=[gr.Markdown(), gr.Textbox()])
51
  iface.launch()
52
 
53