Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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(),
|
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 |
|