Spaces:
Runtime error
Runtime error
removed wandb integration
Browse files
app.py
CHANGED
|
@@ -5,7 +5,6 @@ import numpy as np
|
|
| 5 |
import wandb
|
| 6 |
from fastai.callback.wandb import *
|
| 7 |
|
| 8 |
-
#os.environ["WANDB_API_KEY"] = WANDB_API_KEY
|
| 9 |
wandb.init()
|
| 10 |
|
| 11 |
learn = load_learner('audio_mnist_classifier_v1.pkl')
|
|
@@ -30,6 +29,4 @@ interface = gr.Interface(fn=classify,
|
|
| 30 |
title='Audio MNIST Classification',
|
| 31 |
description='Identifying digits (from 0 to 9) from an audio clip')
|
| 32 |
|
| 33 |
-
interface.launch(
|
| 34 |
-
|
| 35 |
-
interface.integrate(wandb=wandb)
|
|
|
|
| 5 |
import wandb
|
| 6 |
from fastai.callback.wandb import *
|
| 7 |
|
|
|
|
| 8 |
wandb.init()
|
| 9 |
|
| 10 |
learn = load_learner('audio_mnist_classifier_v1.pkl')
|
|
|
|
| 29 |
title='Audio MNIST Classification',
|
| 30 |
description='Identifying digits (from 0 to 9) from an audio clip')
|
| 31 |
|
| 32 |
+
interface.launch()
|
|
|
|
|
|