afrizalha commited on
Commit
099c5db
1 Parent(s): 2fc268e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -3
app.py CHANGED
@@ -34,12 +34,13 @@ with gr.Blocks(theme='snehilsanyal/scikit-learn') as app:
34
  fn=ask,
35
  inputs=[
36
  gr.Textbox(valu='Panjenengan saged nerangaken menapa LLM saged gadhah peranan wigatos babagan pelestarian basa?', label="Pitakenan Jawa Krama"),
37
- gr.Slider(label="Temperature",minimum=0,maximum=1,value=.9,step=.05),
38
- gr.Slider(label="Top p",minimum=0,maximum=1,value=.1,step=.05),
39
  gr.Checkbox(label="Generate 3 at once")
40
  ],
41
  outputs=gr.Textbox(label="Mangsulan"),
42
  title="Jawa Krama Chatbot Demo",
43
  allow_flagging="never",
44
- description='This is a fine-tuned version of GPT-3.5 Turbo, trained to speak Krama Javanese. The model is optimized to respond to educational questions.
 
45
  app.launch(debug=True, share=True)
 
34
  fn=ask,
35
  inputs=[
36
  gr.Textbox(valu='Panjenengan saged nerangaken menapa LLM saged gadhah peranan wigatos babagan pelestarian basa?', label="Pitakenan Jawa Krama"),
37
+ gr.Slider(label="Temperature",minimum=0,maximum=1,value=.5,step=.05),
38
+ gr.Slider(label="Top p",minimum=0,maximum=1,value=.5,step=.05),
39
  gr.Checkbox(label="Generate 3 at once")
40
  ],
41
  outputs=gr.Textbox(label="Mangsulan"),
42
  title="Jawa Krama Chatbot Demo",
43
  allow_flagging="never",
44
+ description='This is a fine-tuned version of GPT-3.5 Turbo, trained to speak Krama Javanese. The model is optimized to respond to educational questions.')
45
+
46
  app.launch(debug=True, share=True)