nehalelkaref commited on
Commit
85e7302
·
verified ·
1 Parent(s): eef17e2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -62,8 +62,7 @@ if __name__ == '__main__':
62
  # iface= gr.Base(primary_hue="green")
63
  example = gr.Examples([
64
  [["النشرة الإخبارية الصادرة عن الأونروا رقم 113 (1986/1/8)."]],
65
- [gr.Textbox(label="Input Example", lines=1)],
66
- ])
67
  iface = gr.Interface(fn=predict_label, inputs="text", outputs="text",
68
  examples=example,theme="finlaymacklon/smooth_slate")
69
  iface.launch(show_api=False)
 
62
  # iface= gr.Base(primary_hue="green")
63
  example = gr.Examples([
64
  [["النشرة الإخبارية الصادرة عن الأونروا رقم 113 (1986/1/8)."]],
65
+ inputs= [gr.Textbox(label="Input Example", lines=1)]])
 
66
  iface = gr.Interface(fn=predict_label, inputs="text", outputs="text",
67
  examples=example,theme="finlaymacklon/smooth_slate")
68
  iface.launch(show_api=False)