Update app.py
Browse files
app.py
CHANGED
@@ -85,7 +85,7 @@ def process(action, system_prompt, user_prompt, schema, base_model_id, dataset):
|
|
85 |
return result
|
86 |
|
87 |
demo = gr.Interface(fn=process,
|
88 |
-
inputs=[gr.Radio([action_1, action_2
|
89 |
gr.Textbox(label = "System Prompt", value = system_prompt, lines = 2),
|
90 |
gr.Textbox(label = "User Prompt", value = user_prompt, lines = 2),
|
91 |
gr.Textbox(label = "Schema", value = schema, lines = 2),
|
|
|
85 |
return result
|
86 |
|
87 |
demo = gr.Interface(fn=process,
|
88 |
+
inputs=[gr.Radio([action_1, action_2], label = "Action", value = action_1),
|
89 |
gr.Textbox(label = "System Prompt", value = system_prompt, lines = 2),
|
90 |
gr.Textbox(label = "User Prompt", value = user_prompt, lines = 2),
|
91 |
gr.Textbox(label = "Schema", value = schema, lines = 2),
|