Alex Gonzalez
commited on
Commit
·
2a29d13
1
Parent(s):
e10e9b7
Added Predict Function - Blank
Browse files- .python-version +1 -0
- app.py +4 -0
.python-version
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
FacialExpressionDetect
|
app.py
CHANGED
|
@@ -1,4 +1,8 @@
|
|
| 1 |
import gradio as gr
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2 |
|
| 3 |
with gr.Blocks() as demo:
|
| 4 |
with gr.Row():
|
|
|
|
| 1 |
import gradio as gr
|
| 2 |
+
from PIL import Image
|
| 3 |
+
|
| 4 |
+
def predict(value: Image.Image) -> str:
|
| 5 |
+
return "Prediction!"
|
| 6 |
|
| 7 |
with gr.Blocks() as demo:
|
| 8 |
with gr.Row():
|