Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -1,11 +1,9 @@
|
|
1 |
from transformers import pipeline
|
2 |
import gradio as gr
|
3 |
|
4 |
-
|
5 |
modelName = "AI-VS-REAL-IMAGE-DETECTION"
|
6 |
hfUser = "Hemg"
|
7 |
|
8 |
-
|
9 |
def prediction_function(inputFile):
|
10 |
# get user name of their hugging face
|
11 |
modelPath = hfUser + "/" + modelName
|
|
|
1 |
from transformers import pipeline
|
2 |
import gradio as gr
|
3 |
|
|
|
4 |
modelName = "AI-VS-REAL-IMAGE-DETECTION"
|
5 |
hfUser = "Hemg"
|
6 |
|
|
|
7 |
def prediction_function(inputFile):
|
8 |
# get user name of their hugging face
|
9 |
modelPath = hfUser + "/" + modelName
|