Spaces:
Runtime error
Runtime error
DanielWong76
commited on
Commit
·
0cace88
1
Parent(s):
9d8d4db
Fixed gradio components
Browse files
app.py
CHANGED
@@ -47,8 +47,8 @@ def generate_response(instruction, input_text):
|
|
47 |
iface = gr.Interface(
|
48 |
fn=generate_response,
|
49 |
inputs=[
|
50 |
-
gr.
|
51 |
-
gr.
|
52 |
],
|
53 |
outputs="text",
|
54 |
title="Alpaca-Style Instruction-Input-Output Model"
|
|
|
47 |
iface = gr.Interface(
|
48 |
fn=generate_response,
|
49 |
inputs=[
|
50 |
+
gr.Textbox(lines=2, placeholder="Enter the instruction here..."),
|
51 |
+
gr.Textbox(lines=5, placeholder="Enter the input text here...")
|
52 |
],
|
53 |
outputs="text",
|
54 |
title="Alpaca-Style Instruction-Input-Output Model"
|