Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -114,9 +114,9 @@ g = gr.Interface(
|
|
114 |
fn=evaluate,
|
115 |
inputs=[
|
116 |
gr.components.Textbox(
|
117 |
-
lines=2, label="Instruction", placeholder="
|
118 |
),
|
119 |
-
gr.components.Textbox(lines=2, label="Input", placeholder="
|
120 |
gr.components.Slider(minimum=0, maximum=1, value=0.1, label="Temperature"),
|
121 |
gr.components.Slider(minimum=0, maximum=1, value=0.7, label="Top p"),
|
122 |
gr.components.Slider(minimum=0, maximum=100, step=1, value=40, label="Top k"),
|
|
|
114 |
fn=evaluate,
|
115 |
inputs=[
|
116 |
gr.components.Textbox(
|
117 |
+
lines=2, label="Instruction", placeholder="classify text as one of these six different emotions: anger, fear, joy, love, sadness, or surprise"
|
118 |
),
|
119 |
+
gr.components.Textbox(lines=2, label="Input", placeholder="I am crying"),
|
120 |
gr.components.Slider(minimum=0, maximum=1, value=0.1, label="Temperature"),
|
121 |
gr.components.Slider(minimum=0, maximum=1, value=0.7, label="Top p"),
|
122 |
gr.components.Slider(minimum=0, maximum=100, step=1, value=40, label="Top k"),
|