KaraSpdrnr commited on
Commit
6224640
·
verified ·
1 Parent(s): 5103245

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -5
app.py CHANGED
@@ -2,8 +2,6 @@ from huggingface_hub import from_pretrained_fastai
2
  import gradio as gr
3
  from fastai.vision.all import *
4
 
5
-
6
-
7
  # repo_id = "YOUR_USERNAME/YOUR_LEARNER_NAME"
8
  repo_id = "KaraSpdrnr/ChessPieces"
9
 
@@ -18,6 +16,3 @@ def predict(img):
18
 
19
  # Creamos la interfaz y la lanzamos.
20
  gr.Interface(fn=predict, inputs=gr.inputs.Image(shape=(128, 128)), outputs=gr.outputs.Label(num_top_classes=3),examples=['Pawn.jpg','Knight.jpg']).launch(share=False)
21
-
22
-
23
-
 
2
  import gradio as gr
3
  from fastai.vision.all import *
4
 
 
 
5
  # repo_id = "YOUR_USERNAME/YOUR_LEARNER_NAME"
6
  repo_id = "KaraSpdrnr/ChessPieces"
7
 
 
16
 
17
  # Creamos la interfaz y la lanzamos.
18
  gr.Interface(fn=predict, inputs=gr.inputs.Image(shape=(128, 128)), outputs=gr.outputs.Label(num_top_classes=3),examples=['Pawn.jpg','Knight.jpg']).launch(share=False)