seawolf2357 commited on
Commit
2a4893c
Β·
verified Β·
1 Parent(s): 0e1f78e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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.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)
 
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)