Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -52,7 +52,7 @@ inputs = gr.Textbox(label='query')
|
|
| 52 |
outputs = [gr.Textbox(label='matched function'), gr.Textbox(label='File path')]
|
| 53 |
title = "Search Code"
|
| 54 |
description = "Semantically search codebase using Cohere embed API. This demo uses Open AI point cloud codebase as an example"
|
| 55 |
-
iface = gr.Interface(fn=get_code, inputs=inputs, outputs=outputs, description = description)
|
| 56 |
iface.launch()
|
| 57 |
|
| 58 |
|
|
|
|
| 52 |
outputs = [gr.Textbox(label='matched function'), gr.Textbox(label='File path')]
|
| 53 |
title = "Search Code"
|
| 54 |
description = "Semantically search codebase using Cohere embed API. This demo uses Open AI point cloud codebase as an example"
|
| 55 |
+
iface = gr.Interface(fn=get_code, inputs=inputs, outputs=outputs, description = description, examples=examples)
|
| 56 |
iface.launch()
|
| 57 |
|
| 58 |
|