code5ecure commited on
Commit
8f2715d
·
verified ·
1 Parent(s): 667d3f9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -65,7 +65,7 @@ with gr.Blocks(title="TinyLlama Chat") as demo:
65
  "**نکته:** اگر خطای حافظه دیدی، مقدار `max_new_tokens` را کم کن یا مدل کوچک‌تری انتخاب کن."
66
  )
67
  with gr.Row():
68
- prompt = gr.Textbox(label="Prompt", lines=4, placeholder="مثال: درباره گل‌های آفریقا بگو…")
69
  with gr.Row():
70
  max_new_tokens = gr.Slider(16, 512, value=150, step=1, label="max_new_tokens")
71
  temperature = gr.Slider(0.1, 1.5, value=0.7, step=0.05, label="temperature")
 
65
  "**نکته:** اگر خطای حافظه دیدی، مقدار `max_new_tokens` را کم کن یا مدل کوچک‌تری انتخاب کن."
66
  )
67
  with gr.Row():
68
+ prompt = gr.Textbox(label="Prompt", lines=4)
69
  with gr.Row():
70
  max_new_tokens = gr.Slider(16, 512, value=150, step=1, label="max_new_tokens")
71
  temperature = gr.Slider(0.1, 1.5, value=0.7, step=0.05, label="temperature")