Further troubleshooting instructions, also a minor compatibility fix

This commit is contained in:
Edward Donner
2024-11-03 11:42:01 -05:00
parent bad513321d
commit 421f4c69a4
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": {