Merge branch 'ed-donner:main' into week2day2-add-gemini-model

This commit is contained in:
Bill Glennon
2024-11-03 12:05:50 -05:00
committed by GitHub
3 changed files with 110 additions and 28 deletions

View File

@@ -345,7 +345,7 @@
"source": [
"view = gr.Interface(\n",
" fn=stream_model,\n",
" inputs=[gr.Textbox(label=\"Your message:\"), gr.Dropdown([\"GPT\", \"Claude\"], label=\"Select model\")],\n",
" inputs=[gr.Textbox(label=\"Your message:\"), gr.Dropdown([\"GPT\", \"Claude\"], label=\"Select model\", value=\"GPT\")],\n",
" outputs=[gr.Markdown(label=\"Response:\")],\n",
" flagging_mode=\"never\"\n",
")\n",
@@ -438,22 +438,6 @@
")\n",
"view.launch()"
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "d0fc580a-dc98-48c3-9dd4-b19cd3be5a18",
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": null,
"id": "d3d3bf11-e02c-492b-96f1-f4dd7df6f4d7",
"metadata": {},
"outputs": [],
"source": []
}
],
"metadata": {