bauerfel commited on
Commit
90ee468
1 Parent(s): c9d2c55

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -26,8 +26,8 @@ def predict_jellyfish_type(uploaded_file):
26
  # Define the Gradio interface
27
  iface = gr.Interface(
28
  fn=predict_jellyfish_type, # Function to process the input
29
- inputs=input_image, #inputs=gr.File(label="Upload File"), # File upload widget
30
- outputs=gr.Label(), #outputs="text", # Output type
31
  title="Jellyfish Classifier", # Title of the interface
32
  examples=["images/barrel_jellyfish.jpeg", "images/blue_jellyfish.jpeg", "images/compass_jellyfish.jpeg", "images/lions_mane_jellyfish.jpeg", "images/mauve_stinger_jellyfish.jpeg", "images/Moon_jellyfish.jpeg"],
33
  description="Upload a picture of a Jellyfish (barrel Gefährlichkeit: Niedrig, blue Gefährlichkeit: Moderat, compass Gefährlichkeit: Moderat, lions mane Gefährlichkeit: Hoch, mauve stinger Gefährlichkeit: Moderat bis Hoch, Moon Gefährlichkeit: Niedrig) " # Description of the interface
 
26
  # Define the Gradio interface
27
  iface = gr.Interface(
28
  fn=predict_jellyfish_type, # Function to process the input
29
+ inputs=gr.File(label="Upload File"), # File upload widget
30
+ outputs="text", # Output type
31
  title="Jellyfish Classifier", # Title of the interface
32
  examples=["images/barrel_jellyfish.jpeg", "images/blue_jellyfish.jpeg", "images/compass_jellyfish.jpeg", "images/lions_mane_jellyfish.jpeg", "images/mauve_stinger_jellyfish.jpeg", "images/Moon_jellyfish.jpeg"],
33
  description="Upload a picture of a Jellyfish (barrel Gefährlichkeit: Niedrig, blue Gefährlichkeit: Moderat, compass Gefährlichkeit: Moderat, lions mane Gefährlichkeit: Hoch, mauve stinger Gefährlichkeit: Moderat bis Hoch, Moon Gefährlichkeit: Niedrig) " # Description of the interface