kuro223 commited on
Commit
1907d8c
·
1 Parent(s): b11e619
Files changed (1) hide show
  1. app.py +9 -6
app.py CHANGED
@@ -314,18 +314,21 @@ app5 = gr.Interface(
314
  description=description_c,
315
  )
316
 
 
317
  app7 = gr.Interface(
318
- fn=mariam_web,
319
- title="Mariam-web",
320
- inputs=[gr.Textbox],
321
- outputs=gr.Textbox(label="Reponse")
322
- )
 
 
323
 
324
  app8 = gr.Interface(
325
  fn = mariam_chimi,
326
  title="Mariam-chimi",
327
  input=[gr.Textbox, gr.Image(type="pil")],
328
- outputs=[gr.Textbox(label='Reponse')],
329
  )
330
 
331
  demo = gr.TabbedInterface([app1, app2, app3,app4,app6,app5,app7,app8],["OCR", "MARIAM-u", "Mariam-French", "Mariam-Philo","Mariam-Hist", "Note Calc","Mariam-web","Mariam-chimi"])
 
314
  description=description_c,
315
  )
316
 
317
+
318
  app7 = gr.Interface(
319
+ fn=mariam_web,
320
+ title="Mariam-web",
321
+ inputs=gr.Textbox(label="Question:", lines=4),
322
+ outputs=gr.Textbox(),
323
+ )
324
+
325
+
326
 
327
  app8 = gr.Interface(
328
  fn = mariam_chimi,
329
  title="Mariam-chimi",
330
  input=[gr.Textbox, gr.Image(type="pil")],
331
+ outputs= outputs=gr.Textbox(),
332
  )
333
 
334
  demo = gr.TabbedInterface([app1, app2, app3,app4,app6,app5,app7,app8],["OCR", "MARIAM-u", "Mariam-French", "Mariam-Philo","Mariam-Hist", "Note Calc","Mariam-web","Mariam-chimi"])