Spaces:
Sleeping
Sleeping
Upload app.py with huggingface_hub
Browse files
app.py
CHANGED
@@ -1,12 +1,11 @@
|
|
1 |
# Write a Simple gradio app to take image as input run a model on it and Returnt the Probability (0 to 1) as a confidence bar
|
2 |
|
3 |
import gradio as gr
|
4 |
-
import tensorflow as tf
|
5 |
import numpy as np
|
6 |
-
|
7 |
from huggingface_hub import from_pretrained_keras
|
8 |
|
9 |
-
REPO_ID = "
|
10 |
|
11 |
model = from_pretrained_keras(REPO_ID)
|
12 |
|
|
|
1 |
# Write a Simple gradio app to take image as input run a model on it and Returnt the Probability (0 to 1) as a confidence bar
|
2 |
|
3 |
import gradio as gr
|
|
|
4 |
import numpy as np
|
5 |
+
import tensorflow as tf
|
6 |
from huggingface_hub import from_pretrained_keras
|
7 |
|
8 |
+
REPO_ID = "konerusudhir/ai-or-not-model"
|
9 |
|
10 |
model = from_pretrained_keras(REPO_ID)
|
11 |
|