Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -1,7 +1,10 @@
|
|
1 |
import gradio as gr
|
|
|
|
|
|
|
2 |
|
3 |
def image_classifier(inp):
|
4 |
-
return
|
5 |
|
6 |
demo = gr.Interface(fn=image_classifier, inputs="image", outputs="label")
|
7 |
demo.launch()
|
|
|
1 |
import gradio as gr
|
2 |
+
from datasets import load_dataset
|
3 |
+
|
4 |
+
dataset = load_dataset("rebase/hello")
|
5 |
|
6 |
def image_classifier(inp):
|
7 |
+
return dataset
|
8 |
|
9 |
demo = gr.Interface(fn=image_classifier, inputs="image", outputs="label")
|
10 |
demo.launch()
|