Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -86,12 +86,10 @@ example = examples[0]
|
|
86 |
|
87 |
with gr.Blocks() as demo:
|
88 |
gr.Markdown("<h1><center>Llama_test: generate unit test for your Python code</center></h1>")
|
89 |
-
|
90 |
-
|
91 |
-
|
92 |
-
|
93 |
-
inputs=code_input,
|
94 |
-
)
|
95 |
|
96 |
generate_btn = gr.Button("Generate test")
|
97 |
with gr.Row():
|
|
|
86 |
|
87 |
with gr.Blocks() as demo:
|
88 |
gr.Markdown("<h1><center>Llama_test: generate unit test for your Python code</center></h1>")
|
89 |
+
code_input = gr.Code(example, label="Provide the code of the function you want to test")
|
90 |
+
gr.Examples(
|
91 |
+
examples=examples,
|
92 |
+
inputs=code_input,)
|
|
|
|
|
93 |
|
94 |
generate_btn = gr.Button("Generate test")
|
95 |
with gr.Row():
|