hossamdaoud commited on
Commit
663844f
·
verified ·
1 Parent(s): f146f51

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -8,8 +8,7 @@ def predict(image):
8
 
9
  interface = gr.Interface(
10
  fn=predict,
11
- gr.inputs.Image(type="pil", default=os.path.join(os.getcwd(), "Laila.png")), # Image component with default value set to laila.png
12
- outputs="image")
13
 
14
 
15
  client = InferenceClient("mistralai/Mixtral-8x7B-Instruct-v0.1")
 
8
 
9
  interface = gr.Interface(
10
  fn=predict,
11
+ gr.inputs.Image(type="pil", default=os.path.join(os.getcwd(), "Laila.png")))
 
12
 
13
 
14
  client = InferenceClient("mistralai/Mixtral-8x7B-Instruct-v0.1")