luel commited on
Commit
325822e
·
verified ·
1 Parent(s): 78072f2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -0
app.py CHANGED
@@ -26,6 +26,11 @@ def create_interface():
26
  "This is a GPT-2 model trained from scratch on Tigrinya text data, primarily from news sources. "
27
  "Enter your Tigrinya text prompt and adjust the parameters to generate text."
28
  )
 
 
 
 
 
29
 
30
  with gr.Row():
31
  input_temperature = gr.Slider(
 
26
  "This is a GPT-2 model trained from scratch on Tigrinya text data, primarily from news sources. "
27
  "Enter your Tigrinya text prompt and adjust the parameters to generate text."
28
  )
29
+ gr.Markdown(
30
+ "**Parameters:**\n"
31
+ "- **Temperature**: Controls the creativity of the output. Lower values (e.g., 0.2) make the text more focused and predictable, while higher values (e.g., 0.8) make it more diverse and creative.\n"
32
+ "- **Maximum Length**: Defines how long the generated text will be. Higher values may take more time to generate but provide longer and more detailed results."
33
+ )
34
 
35
  with gr.Row():
36
  input_temperature = gr.Slider(