JeCabrera commited on
Commit
1843059
·
verified ·
1 Parent(s): 991abd5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -0
app.py CHANGED
@@ -126,6 +126,7 @@ with gr.Blocks(fill_height=True) as demo:
126
  return gr.load(
127
  name=new_model,
128
  src=openai_gradio.registry,
 
129
  fill_height=True,
130
  chatbot=gr.Chatbot(height=250)
131
  )
@@ -153,6 +154,7 @@ with gr.Blocks(fill_height=True) as demo:
153
  claude_interface = gr.load(
154
  name=claude_model.value,
155
  src=anthropic_gradio.registry,
 
156
  fill_height=True,
157
  chatbot=gr.Chatbot(height=250)
158
  )
@@ -161,6 +163,7 @@ with gr.Blocks(fill_height=True) as demo:
161
  return gr.load(
162
  name=new_model,
163
  src=anthropic_gradio.registry,
 
164
  fill_height=True,
165
  chatbot=gr.Chatbot(height=250)
166
  )
@@ -174,6 +177,7 @@ with gr.Blocks(fill_height=True) as demo:
174
  gr.load(
175
  name='grok-beta',
176
  src=xai_gradio.registry,
 
177
  fill_height=True,
178
  chatbot=gr.Chatbot(height=250)
179
  )
@@ -240,6 +244,7 @@ with gr.Blocks(fill_height=True) as demo:
240
  perplexity_interface = gr.load(
241
  name=perplexity_model.value,
242
  src=perplexity_gradio.registry,
 
243
  fill_height=True,
244
  chatbot=gr.Chatbot(height=250)
245
  )
@@ -248,6 +253,7 @@ with gr.Blocks(fill_height=True) as demo:
248
  return gr.load(
249
  name=new_model,
250
  src=perplexity_gradio.registry,
 
251
  fill_height=True,
252
  chatbot=gr.Chatbot(height=250)
253
  )
 
126
  return gr.load(
127
  name=new_model,
128
  src=openai_gradio.registry,
129
+ accept_token=True,
130
  fill_height=True,
131
  chatbot=gr.Chatbot(height=250)
132
  )
 
154
  claude_interface = gr.load(
155
  name=claude_model.value,
156
  src=anthropic_gradio.registry,
157
+ accept_token=True,
158
  fill_height=True,
159
  chatbot=gr.Chatbot(height=250)
160
  )
 
163
  return gr.load(
164
  name=new_model,
165
  src=anthropic_gradio.registry,
166
+ accept_token=True,
167
  fill_height=True,
168
  chatbot=gr.Chatbot(height=250)
169
  )
 
177
  gr.load(
178
  name='grok-beta',
179
  src=xai_gradio.registry,
180
+ accept_token=True,
181
  fill_height=True,
182
  chatbot=gr.Chatbot(height=250)
183
  )
 
244
  perplexity_interface = gr.load(
245
  name=perplexity_model.value,
246
  src=perplexity_gradio.registry,
247
+ accept_token=True,
248
  fill_height=True,
249
  chatbot=gr.Chatbot(height=250)
250
  )
 
253
  return gr.load(
254
  name=new_model,
255
  src=perplexity_gradio.registry,
256
+ accept_token=True,
257
  fill_height=True,
258
  chatbot=gr.Chatbot(height=250)
259
  )