Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -40,7 +40,7 @@ def get_code(query):
|
|
40 |
|
41 |
|
42 |
return data_df.iloc[similar_item_ids[0]]['function_body'], data_df.iloc[similar_item_ids[0]]['file_path']
|
43 |
-
examples = ['compute diffusion of given data']
|
44 |
inputs = gr.Textbox(label='query')
|
45 |
outputs = [gr.Textbox(label='matched function'), gr.Textbox(label='File path')]
|
46 |
title = "Search Code"
|
|
|
40 |
|
41 |
|
42 |
return data_df.iloc[similar_item_ids[0]]['function_body'], data_df.iloc[similar_item_ids[0]]['file_path']
|
43 |
+
examples = ['compute diffusion of given data', 'get mean and varience of current input given previous input']
|
44 |
inputs = gr.Textbox(label='query')
|
45 |
outputs = [gr.Textbox(label='matched function'), gr.Textbox(label='File path')]
|
46 |
title = "Search Code"
|