Suraj-Yadav
commited on
Commit
β’
38fb16b
1
Parent(s):
f141439
Uploading food not food text classifier demo app.py
Browse files
app.py
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
import torch
|
3 |
import gradio as gr
|
4 |
|
5 |
-
from typing import Dict
|
6 |
from transformers import pipeline
|
7 |
|
8 |
huggingface_model_path = "Suraj-Yadav/learn_hf_food_not_food_text_classifier-distilbert-base-uncased"
|
|
|
2 |
import torch
|
3 |
import gradio as gr
|
4 |
|
5 |
+
from typing import Dict,Union
|
6 |
from transformers import pipeline
|
7 |
|
8 |
huggingface_model_path = "Suraj-Yadav/learn_hf_food_not_food_text_classifier-distilbert-base-uncased"
|