Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
@@ -31,11 +31,11 @@ def main_interface():
|
|
31 |
with gr.Blocks() as demo:
|
32 |
with gr.Row():
|
33 |
prompt = gr.Textbox(label="Prompt", placeholder="Enter your prompt here...")
|
34 |
-
history = gr.
|
35 |
system_prompt = gr.Textbox(label="System Prompt", placeholder="λ°λμ νκΈλ‘ λ΅λ³νλΌ")
|
36 |
temperature = gr.Number(label="Temperature", value=0.3)
|
37 |
max_new_tokens = gr.Number(label="Max New Tokens", value=1048)
|
38 |
-
top_p = gr.Number(label="Top P", value=0.
|
39 |
repetition_penalty = gr.Number(label="Repetition Penalty", value=1.0)
|
40 |
submit_button = gr.Button("Generate")
|
41 |
|
|
|
31 |
with gr.Blocks() as demo:
|
32 |
with gr.Row():
|
33 |
prompt = gr.Textbox(label="Prompt", placeholder="Enter your prompt here...")
|
34 |
+
history = gr.Textarea(label="History", placeholder="Enter history as JSON array...", rows=3)
|
35 |
system_prompt = gr.Textbox(label="System Prompt", placeholder="λ°λμ νκΈλ‘ λ΅λ³νλΌ")
|
36 |
temperature = gr.Number(label="Temperature", value=0.3)
|
37 |
max_new_tokens = gr.Number(label="Max New Tokens", value=1048)
|
38 |
+
top_p = gr.Number(label="Top P", value=0.95)
|
39 |
repetition_penalty = gr.Number(label="Repetition Penalty", value=1.0)
|
40 |
submit_button = gr.Button("Generate")
|
41 |
|