Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -15,7 +15,7 @@ def ner(text, model):
|
|
15 |
prediction, model_output = model.predict([text])
|
16 |
output = prediction
|
17 |
return output
|
18 |
-
|
19 |
demo = gr.Interface(fn=ner, inputs=gr.Textbox(lines=5, placeholder='Enter your input here'), outputs=gr.Textbox(lines=10, placeholder='Sipariş dökümü'),examples=['İki pide ve iki büyük ayran istiyorum, kapıda nakit öderim, evime yollayın...' , 'Bir mantı, iki döner, üç mevsim salata, bir kola ve iki sprite istiyorum, iş yerime gönderin' ],
|
20 |
title="Söyle Gelsin", description="Yemek siparişi uygulamamızı kullanabilirsiniz...")
|
21 |
|
|
|
15 |
prediction, model_output = model.predict([text])
|
16 |
output = prediction
|
17 |
return output
|
18 |
+
text = inputs
|
19 |
demo = gr.Interface(fn=ner, inputs=gr.Textbox(lines=5, placeholder='Enter your input here'), outputs=gr.Textbox(lines=10, placeholder='Sipariş dökümü'),examples=['İki pide ve iki büyük ayran istiyorum, kapıda nakit öderim, evime yollayın...' , 'Bir mantı, iki döner, üç mevsim salata, bir kola ve iki sprite istiyorum, iş yerime gönderin' ],
|
20 |
title="Söyle Gelsin", description="Yemek siparişi uygulamamızı kullanabilirsiniz...")
|
21 |
|