Commit
·
83cb40b
1
Parent(s):
9806d50
chore: Update Gradio interface for generated user instruction and model response
Browse files
app.py
CHANGED
|
@@ -78,11 +78,12 @@ iface = gr.Interface(
|
|
| 78 |
fn=generate_instruction_response,
|
| 79 |
inputs=[],
|
| 80 |
outputs=[
|
| 81 |
-
gr.
|
| 82 |
gr.Markdown(label="Generated Model Response"),
|
| 83 |
],
|
| 84 |
title=title,
|
| 85 |
description=description,
|
|
|
|
| 86 |
)
|
| 87 |
|
| 88 |
# Launch the app
|
|
|
|
| 78 |
fn=generate_instruction_response,
|
| 79 |
inputs=[],
|
| 80 |
outputs=[
|
| 81 |
+
gr.Markdown(label="Generated User Instruction"),
|
| 82 |
gr.Markdown(label="Generated Model Response"),
|
| 83 |
],
|
| 84 |
title=title,
|
| 85 |
description=description,
|
| 86 |
+
submit_btn="Generate Instructions Response Pair",
|
| 87 |
)
|
| 88 |
|
| 89 |
# Launch the app
|