Kuwegjer commited on
Commit
529fdab
1 Parent(s): d1f10d7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -6,7 +6,7 @@ from tensorflow.keras.applications.resnet50 import preprocess_input
6
  from tensorflow.keras.models import load_model
7
 
8
  # Load your trained model
9
- model = load_model(r'C:\Daten\Studium Wirtschaftsinformatik\Semester 6 TZ\KI-Anwendungen\Übungen\Übung2\Abschluss\mein_modell.h5')
10
 
11
  def predict_character(img):
12
  img = Image.fromarray(img.astype('uint8'), 'RGB') # Ensure the image is in RGB
 
6
  from tensorflow.keras.models import load_model
7
 
8
  # Load your trained model
9
+ model = load_model('/home/user/app/mein_modell.h5')
10
 
11
  def predict_character(img):
12
  img = Image.fromarray(img.astype('uint8'), 'RGB') # Ensure the image is in RGB