Sushrut98 commited on
Commit
b501ef2
·
verified ·
1 Parent(s): d8a25ac

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -4
app.py CHANGED
@@ -65,9 +65,9 @@ def predict(img) -> Tuple[Dict, float]:
65
  ### 4. Gradio app ###
66
 
67
  # Create title, description and article strings
68
- title = "Expression Detection"
69
- description = "An app to predict emotions from the list.[Angry, Disgust, Fear, Happy, Neutral, Sad, Surprise]"
70
- article = "Created as a college project."
71
 
72
  # Create examples list from "examples/" directory
73
  example_list = [["examples/" + example] for example in os.listdir("examples")]
@@ -83,7 +83,6 @@ demo = gr.Interface(
83
  examples=example_list,
84
  title=title,
85
  description=description,
86
- article=article,
87
  )
88
 
89
  # Launch the app!
 
65
  ### 4. Gradio app ###
66
 
67
  # Create title, description and article strings
68
+ title = "Wafer Defect Detection"
69
+ description = "An app to predict wafer Defects from the following 9 defects.[Center, Donut, Edge-Loc, Edge-Ring, Loc, Near-full, Random, Scratch, none]."
70
+
71
 
72
  # Create examples list from "examples/" directory
73
  example_list = [["examples/" + example] for example in os.listdir("examples")]
 
83
  examples=example_list,
84
  title=title,
85
  description=description,
 
86
  )
87
 
88
  # Launch the app!