Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -511,7 +511,7 @@ with gr.Blocks() as demo:
|
|
511 |
gr.Markdown("Upload your documents and question them.")
|
512 |
with gr.Accordion("Open to enter your API key", open=False):
|
513 |
apikey_input = gr.Textbox(placeholder="Type here your OpenAI API key to use Summarization and Q&A", label="OpenAI API Key",type='password')
|
514 |
-
dd_model = gr.Dropdown(["gpt-3.5-turbo-1106", "gpt-3.5-turbo", "gpt-3.5-turbo-16k", "gpt-4-1106-preview", "gpt-4", "gpt-4-32k"]
|
515 |
|
516 |
with gr.Tab("Upload PDF & TXT"):
|
517 |
with gr.Accordion("Get files from the web", open=False):
|
|
|
511 |
gr.Markdown("Upload your documents and question them.")
|
512 |
with gr.Accordion("Open to enter your API key", open=False):
|
513 |
apikey_input = gr.Textbox(placeholder="Type here your OpenAI API key to use Summarization and Q&A", label="OpenAI API Key",type='password')
|
514 |
+
dd_model = gr.Dropdown(["mistral-tiny", "mistral-small", "mistral-medium","gpt-3.5-turbo-1106", "gpt-3.5-turbo", "gpt-3.5-turbo-16k", "gpt-4-1106-preview", "gpt-4", "gpt-4-32k"], value="gpt-3.5-turbo-1106", label='List of models', allow_custom_value=True, scale=1)
|
515 |
|
516 |
with gr.Tab("Upload PDF & TXT"):
|
517 |
with gr.Accordion("Get files from the web", open=False):
|