nehalelkaref commited on
Commit
189ddb9
·
verified ·
1 Parent(s): 2d7bba1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -2
app.py CHANGED
@@ -65,9 +65,11 @@ if __name__ == '__main__':
65
  with gr.Blocks(theme='finlaymacklon/smooth_slate') as iface:
66
  example_input=gr.Textbox(label="Input Example", lines=1)
67
 
68
- gr.Interface(fn=predict_label, inputs="text", outputs="text",
69
  theme="smooth_slate")
70
  gr.Examples(
71
- examples=["النشرة الإخبارية الصادرة عن الأونروا رقم 113 (1986/1/8)."],
 
 
72
  inputs= example_input)
73
  iface.launch(show_api=False)
 
65
  with gr.Blocks(theme='finlaymacklon/smooth_slate') as iface:
66
  example_input=gr.Textbox(label="Input Example", lines=1)
67
 
68
+ gr.Interface(fn=predict_label, inputs=example_input, outputs="text",
69
  theme="smooth_slate")
70
  gr.Examples(
71
+ examples=["النشرة الإخبارية الصادرة عن الأونروا رقم 113 (1986/1/8).",
72
+ "صورة لمدينة أريحا القديمة :تل السلطان",
73
+ "السلطان"],
74
  inputs= example_input)
75
  iface.launch(show_api=False)