Spaces:
Runtime error
Runtime error
bhaskartripathi
commited on
Commit
•
f4b8910
1
Parent(s):
9b03d6f
Update app.py
Browse files
app.py
CHANGED
@@ -225,7 +225,8 @@ with gr.Blocks() as demo:
|
|
225 |
gr.Markdown("<center><h4>OR<h4></center>")
|
226 |
file = gr.File(label='Upload your PDF/ Research Paper / Book here', file_types=['.pdf'])
|
227 |
question = gr.Textbox(label='Enter your question here')
|
228 |
-
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'], label='Select Model', default='gpt-3.5-turbo')
|
|
|
229 |
btn = gr.Button(value='Submit')
|
230 |
btn.style(full_width=True)
|
231 |
|
|
|
225 |
gr.Markdown("<center><h4>OR<h4></center>")
|
226 |
file = gr.File(label='Upload your PDF/ Research Paper / Book here', file_types=['.pdf'])
|
227 |
question = gr.Textbox(label='Enter your question here')
|
228 |
+
#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'], label='Select Model', default='gpt-3.5-turbo')
|
229 |
+
model = gr.Dropdown(choices=['gpt-3.5-turbo', 'gpt-3.5-turbo-16k', 'gpt-3.5-turbo-0613', 'gpt-3.5-turbo-16k-0613', 'text-davinci-003'], label='Select Model', default='gpt-3.5-turbo')
|
230 |
btn = gr.Button(value='Submit')
|
231 |
btn.style(full_width=True)
|
232 |
|