Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
@@ -61,8 +61,8 @@ if __name__ == '__main__':
|
|
61 |
entity_model = EntNet.load_model(entity_path)
|
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")
|
|
|
61 |
entity_model = EntNet.load_model(entity_path)
|
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")
|