bhaskartripathi commited on
Commit
bea0ce3
1 Parent(s): 8a47600

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -279,7 +279,9 @@ with gr.Blocks() as demo:
279
  label="PRE-DEFINED QUESTIONS: Click on a question to auto-fill the input box, then press Enter!",
280
  )
281
  model = gr.Radio(['gpt-3.5-turbo', 'gpt-3.5-turbo-16k', 'gpt-3.5-turbo-0613', 'gpt-3.5-turbo-16k-0613', 'text-davinci-003','gpt-4','gpt-4-32k'], label='Select Model', default='gpt-3.5-turbo')
282
- btn = gr.Button(value='Submit')
 
 
283
  btn.style(full_width=True)
284
 
285
  with gr.Group():
 
279
  label="PRE-DEFINED QUESTIONS: Click on a question to auto-fill the input box, then press Enter!",
280
  )
281
  model = gr.Radio(['gpt-3.5-turbo', 'gpt-3.5-turbo-16k', 'gpt-3.5-turbo-0613', 'gpt-3.5-turbo-16k-0613', 'text-davinci-003','gpt-4','gpt-4-32k'], label='Select Model', default='gpt-3.5-turbo')
282
+ #btn = gr.Button(value='Submit')
283
+ btn = gr.Button(value='Submit', show_spinner=True) # add show_spinner=True
284
+
285
  btn.style(full_width=True)
286
 
287
  with gr.Group():