Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -31,7 +31,7 @@ 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)
|
|
|
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) # Corrected to 'TextArea'
|
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)
|