Spaces:
Running
Running
fix paragraph
Browse files
README.md
CHANGED
|
@@ -56,6 +56,7 @@ Here’s we define our image classification model prediction function in PyTorch
|
|
| 56 |
</h3>
|
| 57 |
<p class="lg:col-span-2">
|
| 58 |
For the image classification model from Step 2, it would like like this:
|
|
|
|
| 59 |
<pre>
|
| 60 |
<code>
|
| 61 |
inputs = gr.inputs.Image()
|
|
@@ -65,6 +66,7 @@ outputs = gr.outputs.Label(num_top_classes=3)
|
|
| 65 |
io = gr.Interface(fn=predict, inputs=inputs, outputs=outputs)
|
| 66 |
</code>
|
| 67 |
</pre>
|
|
|
|
| 68 |
If you need help creating a Gradio Interface for your model, check out the Gradio Getting Started guide.
|
| 69 |
</p>
|
| 70 |
|
|
|
|
| 56 |
</h3>
|
| 57 |
<p class="lg:col-span-2">
|
| 58 |
For the image classification model from Step 2, it would like like this:
|
| 59 |
+
</p>
|
| 60 |
<pre>
|
| 61 |
<code>
|
| 62 |
inputs = gr.inputs.Image()
|
|
|
|
| 66 |
io = gr.Interface(fn=predict, inputs=inputs, outputs=outputs)
|
| 67 |
</code>
|
| 68 |
</pre>
|
| 69 |
+
<p class="lg:col-span-2">
|
| 70 |
If you need help creating a Gradio Interface for your model, check out the Gradio Getting Started guide.
|
| 71 |
</p>
|
| 72 |
|