Skip to content

Commit c58bd52

Browse files
authored
Update gradio example (opengeos#584)
1 parent b16aec2 commit c58bd52

File tree

2 files changed

+14
-2
lines changed

2 files changed

+14
-2
lines changed

docs/notebooks/66_gradio.ipynb

+1-1
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@
9191
"demo = gr.Interface(\n",
9292
" fn=viz_cog,\n",
9393
" inputs=gr.Text(value=url, label='Enter a COG URL'),\n",
94-
" outputs=gr.Plot().style(),\n",
94+
" outputs=gr.Plot(),\n",
9595
")\n",
9696
"# demo.launch()"
9797
]

examples/notebooks/66_gradio.ipynb

+13-1
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@
9191
"demo = gr.Interface(\n",
9292
" fn=viz_cog,\n",
9393
" inputs=gr.Text(value=url, label='Enter a COG URL'),\n",
94-
" outputs=gr.Plot().style(),\n",
94+
" outputs=gr.Plot(),\n",
9595
")\n",
9696
"# demo.launch()"
9797
]
@@ -109,6 +109,18 @@
109109
"display_name": "Python 3",
110110
"language": "python",
111111
"name": "python3"
112+
},
113+
"language_info": {
114+
"codemirror_mode": {
115+
"name": "ipython",
116+
"version": 3
117+
},
118+
"file_extension": ".py",
119+
"mimetype": "text/x-python",
120+
"name": "python",
121+
"nbconvert_exporter": "python",
122+
"pygments_lexer": "ipython3",
123+
"version": "3.11.6"
112124
}
113125
},
114126
"nbformat": 4,

0 commit comments

Comments
 (0)