Skip to content

Commit 7e0b419

Browse files
authored
fix tutorial 40 for Gradio 6.0.0 (#417)
1 parent e2beac3 commit 7e0b419

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

tutorials/40_Building_Chat_Application_with_Function_Calling.ipynb

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -782,15 +782,13 @@
782782
"\n",
783783
"demo = gr.ChatInterface(\n",
784784
" fn=chatbot_with_tc,\n",
785-
" type=\"messages\",\n",
786785
" examples=[\n",
787786
" \"Can you tell me where Giorgio lives?\",\n",
788787
" \"What's the weather like in Madrid?\",\n",
789788
" \"Who lives in London?\",\n",
790789
" \"What's the weather like where Mark lives?\",\n",
791790
" ],\n",
792791
" title=\"Ask me about weather or where people live!\",\n",
793-
" theme=gr.themes.Ocean(),\n",
794792
")\n",
795793
"\n",
796794
"## Uncomment the line below to launch the chat app with UI\n",
@@ -840,4 +838,4 @@
840838
},
841839
"nbformat": 4,
842840
"nbformat_minor": 0
843-
}
841+
}

0 commit comments

Comments
 (0)