drsaikirant88 commited on
Commit
145010b
1 Parent(s): 1035ec8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -338,13 +338,13 @@ examples = ['happy1.jpg', 'happy2.jpg', 'angry1.png', 'angry2.jpg', 'neutral1.jp
338
 
339
  gr.Interface(fn = predict,
340
  inputs = gr.Image(),
341
- outputs = [gr.Image(shape=(12, 12), label='Person 1'),
342
  gr.Label(label='Emotion - Person 1'),
343
  gr.Label(label='Sentiment - Person 1'),
344
- gr.Image(shape=(12, 12), label='Person 2'),
345
  gr.Label(label='Emotion - Person 2'),
346
  gr.Label(label='Sentiment - Person 2'),
347
- gr.Image(shape=(12, 12), label='Person 3'),
348
  gr.Label(label='Emotion - Person 3'),
349
  gr.Label(label='Sentiment - Person 3'),], #gr.Label(),
350
  title = title,
 
338
 
339
  gr.Interface(fn = predict,
340
  inputs = gr.Image(),
341
+ outputs = [gr.Image(shape=(48, 48), label='Person 1'),
342
  gr.Label(label='Emotion - Person 1'),
343
  gr.Label(label='Sentiment - Person 1'),
344
+ gr.Image(shape=(48, 48), label='Person 2'),
345
  gr.Label(label='Emotion - Person 2'),
346
  gr.Label(label='Sentiment - Person 2'),
347
+ gr.Image(shape=(48, 48), label='Person 3'),
348
  gr.Label(label='Emotion - Person 3'),
349
  gr.Label(label='Sentiment - Person 3'),], #gr.Label(),
350
  title = title,