UPD: fixed placeholder for section 4 Function generation
Browse files
app.py
CHANGED
@@ -204,11 +204,11 @@ with gradio.Blocks(fill_height=True) as base_app:
|
|
204 |
__function_seed = gradio.Slider(minimum = 0, maximum = 1000, step = 1, value = 123, label = "Seed", interactive = True)
|
205 |
with gradio.Row():
|
206 |
with gradio.Column():
|
207 |
-
__function_name = gradio.Textbox(label = "Function Name", placeholder = "
|
208 |
with gradio.Column():
|
209 |
-
__function_parameters = gradio.Textbox(label = "Input Parameters", placeholder = "
|
210 |
with gradio.Column():
|
211 |
-
__function_return = gradio.Textbox(label = "Return Type", placeholder = "
|
212 |
|
213 |
gradio.Markdown("# π Step 5: Generate a code.")
|
214 |
__code_generate = gradio.Button("Generate Code", scale = 2)
|
|
|
204 |
__function_seed = gradio.Slider(minimum = 0, maximum = 1000, step = 1, value = 123, label = "Seed", interactive = True)
|
205 |
with gradio.Row():
|
206 |
with gradio.Column():
|
207 |
+
__function_name = gradio.Textbox(label = "Function Name", placeholder = "dummy_foo", interactive = False)
|
208 |
with gradio.Column():
|
209 |
+
__function_parameters = gradio.Textbox(label = "Input Parameters", placeholder = "['input_dict: dict, 'a': int]", interactive = False)
|
210 |
with gradio.Column():
|
211 |
+
__function_return = gradio.Textbox(label = "Return Type", placeholder = "str", interactive = False)
|
212 |
|
213 |
gradio.Markdown("# π Step 5: Generate a code.")
|
214 |
__code_generate = gradio.Button("Generate Code", scale = 2)
|