codelion commited on
Commit
812ea10
1 Parent(s): 1686a77

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -6
app.py CHANGED
@@ -88,7 +88,6 @@ chat_interface = gr.ChatInterface(
88
  maximum=MAX_MAX_NEW_TOKENS,
89
  step=1,
90
  value=DEFAULT_MAX_NEW_TOKENS,
91
- elem_classes="contain",
92
  ),
93
  gr.Slider(
94
  label="Temperature",
@@ -96,7 +95,6 @@ chat_interface = gr.ChatInterface(
96
  maximum=4.0,
97
  step=0.1,
98
  value=0.6,
99
- elem_classes="contain",
100
  ),
101
  gr.Slider(
102
  label="Top-p (nucleus sampling)",
@@ -104,7 +102,6 @@ chat_interface = gr.ChatInterface(
104
  maximum=1.0,
105
  step=0.05,
106
  value=0.9,
107
- elem_classes="contain",
108
  ),
109
  gr.Slider(
110
  label="Top-k",
@@ -112,7 +109,6 @@ chat_interface = gr.ChatInterface(
112
  maximum=1000,
113
  step=1,
114
  value=50,
115
- elem_classes="contain",
116
  ),
117
  gr.Slider(
118
  label="Repetition penalty",
@@ -120,7 +116,6 @@ chat_interface = gr.ChatInterface(
120
  maximum=2.0,
121
  step=0.05,
122
  value=1.2,
123
- elem_classes="contain",
124
  ),
125
  ],
126
  stop_btn=None,
@@ -134,7 +129,7 @@ chat_interface = gr.ChatInterface(
134
  )
135
 
136
  with gr.Blocks(css="style.css") as demo:
137
- gr.Markdown(DESCRIPTION,elem_classes="contain")
138
  # gr.DuplicateButton(value="Duplicate Space for private use", elem_id="duplicate-button")
139
  chat_interface.render()
140
  # gr.Markdown(LICENSE,elem_classes="contain")
 
88
  maximum=MAX_MAX_NEW_TOKENS,
89
  step=1,
90
  value=DEFAULT_MAX_NEW_TOKENS,
 
91
  ),
92
  gr.Slider(
93
  label="Temperature",
 
95
  maximum=4.0,
96
  step=0.1,
97
  value=0.6,
 
98
  ),
99
  gr.Slider(
100
  label="Top-p (nucleus sampling)",
 
102
  maximum=1.0,
103
  step=0.05,
104
  value=0.9,
 
105
  ),
106
  gr.Slider(
107
  label="Top-k",
 
109
  maximum=1000,
110
  step=1,
111
  value=50,
 
112
  ),
113
  gr.Slider(
114
  label="Repetition penalty",
 
116
  maximum=2.0,
117
  step=0.05,
118
  value=1.2,
 
119
  ),
120
  ],
121
  stop_btn=None,
 
129
  )
130
 
131
  with gr.Blocks(css="style.css") as demo:
132
+ gr.Markdown(DESCRIPTION)
133
  # gr.DuplicateButton(value="Duplicate Space for private use", elem_id="duplicate-button")
134
  chat_interface.render()
135
  # gr.Markdown(LICENSE,elem_classes="contain")