missvector commited on
Commit
9de8106
·
1 Parent(s): 0591087

upd app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -11
app.py CHANGED
@@ -45,19 +45,11 @@ For information on how to customize the ChatInterface, peruse the gradio docs: h
45
  """
46
  demo = gr.ChatInterface(
47
  respond,
48
- examples=['найди то, что еще не изучено'],
49
  additional_inputs=[
50
  gr.Textbox(value="if the prompt is 'найди то, что ещё не изучено', ask 'в какой области лингвистики или литературоведения?' after getting the answer, find the research gap using the given information and using both Google Scholar and Academia.edu and then formalize it as a bulleted list with 2-8 points", label="System message"),
51
- gr.Slider(minimum=1, maximum=2048, value=512, step=1, label="Max new tokens"),
52
- gr.Slider(minimum=0.1, maximum=4.0, value=0.7, step=0.1, label="Temperature"),
53
- gr.Slider(
54
- minimum=0.1,
55
- maximum=1.0,
56
- value=0.95,
57
- step=0.05,
58
- label="Top-p (nucleus sampling)",
59
- )
60
- ]
61
  )
62
 
63
 
 
45
  """
46
  demo = gr.ChatInterface(
47
  respond,
48
+ examples=[['найди то, что еще не изучено']],
49
  additional_inputs=[
50
  gr.Textbox(value="if the prompt is 'найди то, что ещё не изучено', ask 'в какой области лингвистики или литературоведения?' after getting the answer, find the research gap using the given information and using both Google Scholar and Academia.edu and then formalize it as a bulleted list with 2-8 points", label="System message"),
51
+ ],
52
+ title="Research Gap Bot"
 
 
 
 
 
 
 
 
53
  )
54
 
55