Update app.py
Browse files
app.py
CHANGED
@@ -6,8 +6,8 @@ import torch.nn as nn
|
|
6 |
import pandas as pd
|
7 |
import numpy as np
|
8 |
import gradio as gr
|
9 |
-
import warnings
|
10 |
-
warnings.filterwarnings("ignore", category=UserWarning)
|
11 |
|
12 |
class_names = ['apple_pie',
|
13 |
'bibimbap',
|
@@ -99,7 +99,7 @@ def predict(img_path):
|
|
99 |
interface = gr.Interface(
|
100 |
predict,
|
101 |
inputs="image",
|
102 |
-
title="
|
103 |
description="This App will provide the information of your food choice in Selera Cafe. The menu includes: Apple Pie, Bibimbap, Cannoli, Edamame, Falafel, French Toast, Ramen, Sushi, Tiramisu. Enjoy your food!",
|
104 |
|
105 |
outputs=[
|
|
|
6 |
import pandas as pd
|
7 |
import numpy as np
|
8 |
import gradio as gr
|
9 |
+
# import warnings
|
10 |
+
# warnings.filterwarnings("ignore", category=UserWarning)
|
11 |
|
12 |
class_names = ['apple_pie',
|
13 |
'bibimbap',
|
|
|
99 |
interface = gr.Interface(
|
100 |
predict,
|
101 |
inputs="image",
|
102 |
+
title="Cafe App",
|
103 |
description="This App will provide the information of your food choice in Selera Cafe. The menu includes: Apple Pie, Bibimbap, Cannoli, Edamame, Falafel, French Toast, Ramen, Sushi, Tiramisu. Enjoy your food!",
|
104 |
|
105 |
outputs=[
|