schhwmn commited on
Commit
b55269f
1 Parent(s): a698eb9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -1,10 +1,10 @@
1
  import gradio as gr
2
 
3
- description = "Story generation with GPT-2"
4
- title = "Generate your own story"
5
- examples = [["Adventurer is approached by a mysterious stranger in the tavern for a new quest."]]
6
 
7
- interface = gr.Interface.load("huggingface/pranavpsv/gpt2-genre-story-generator",
8
  description=description,
9
  examples=examples
10
  )
 
1
  import gradio as gr
2
 
3
+ description = "Виправлення помилок за допомогою моделі mBART-50"
4
+ title = "GEC Thesis Demo"
5
+ examples = [["я й не думав що комп'ютерна лінгвістика це легкоо."]]
6
 
7
+ interface = gr.Interface.load("schhwmn/mbart-large-50-finetuned-ukr-gec",
8
  description=description,
9
  examples=examples
10
  )