9e5a887
user_wwq 3 years ago
1 changed file(s) with 8 addition(s) and 8 deletion(s). Raw diff Collapse all Expand all
22 {
33 "cell_type": "code",
44 "execution_count": 3,
5 "id": "654793b1",
5 "id": "89b814eb",
66 "metadata": {},
77 "outputs": [
88 {
3939 {
4040 "cell_type": "code",
4141 "execution_count": 4,
42 "id": "db619e40",
42 "id": "922ad6a5",
4343 "metadata": {},
4444 "outputs": [],
4545 "source": [
4949 {
5050 "cell_type": "code",
5151 "execution_count": 9,
52 "id": "35952a0c",
52 "id": "83e4e579",
5353 "metadata": {},
5454 "outputs": [],
5555 "source": [
6666 {
6767 "cell_type": "code",
6868 "execution_count": 8,
69 "id": "aa544da3",
69 "id": "d953c810",
7070 "metadata": {},
7171 "outputs": [],
7272 "source": [
7979 {
8080 "cell_type": "code",
8181 "execution_count": 11,
82 "id": "481b00f6",
82 "id": "8bd255b0",
8383 "metadata": {},
8484 "outputs": [],
8585 "source": [
9393 {
9494 "cell_type": "code",
9595 "execution_count": 6,
96 "id": "d3aa1912",
96 "id": "5d4b9209",
9797 "metadata": {},
9898 "outputs": [],
9999 "source": [
115115 {
116116 "cell_type": "code",
117117 "execution_count": 12,
118 "id": "e572dec9",
118 "id": "73a451eb",
119119 "metadata": {},
120120 "outputs": [],
121121 "source": [
132132 " image = load_demo_image(base64_str)\n",
133133 " res = inference(model_PATH, image)\n",
134134 " image_str = image_to_path(res)\n",
135 " return {'Output': res}\n",
135 " return {'Output': image_str}\n",
136136 " "
137137 ]
138138 }