Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -185,8 +185,9 @@ with gr.Blocks(title=title) as demo:
|
|
185 |
submit.click(evaluate, [instruction, input, token_count, temperature, top_p, presence_penalty, count_penalty], [output])
|
186 |
|
187 |
clear.click(lambda: None, [], [output])
|
188 |
-
data.click(lambda x: x, [data], [prompt, token_count, temperature, top_p, presence_penalty, count_penalty])
|
189 |
-
|
|
|
190 |
# Gradio launch
|
191 |
demo.queue(concurrency_count=1, max_size=10)
|
192 |
demo.launch(share=False)
|
|
|
185 |
submit.click(evaluate, [instruction, input, token_count, temperature, top_p, presence_penalty, count_penalty], [output])
|
186 |
|
187 |
clear.click(lambda: None, [], [output])
|
188 |
+
#data.click(lambda x: x, [data], [prompt, token_count, temperature, top_p, presence_penalty, count_penalty])
|
189 |
+
data.click(lambda x: x, [data], [instruction, input, token_count, temperature, top_p, presence_penalty, count_penalty])
|
190 |
+
|
191 |
# Gradio launch
|
192 |
demo.queue(concurrency_count=1, max_size=10)
|
193 |
demo.launch(share=False)
|