miwojc commited on
Commit
f670c4f
·
1 Parent(s): 742180e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -3,9 +3,9 @@ import gradio as gr
3
  title = "papuGaPT2 Demo"
4
  description = "Demo for polish GPT2 for text generation. To use it, simply add your text, or click one of the examples to load them."
5
  examples = [
6
- ['The tower is 324 metres (1,063 ft) tall,'],
7
- ["The Moon's orbit around Earth has"],
8
- ["The smooth Borealis basin in the Northern Hemisphere covers 40%"]
9
  ]
10
 
11
  gr.Interface.load("huggingface/flax-community/papuGaPT2", inputs=gr.inputs.Textbox(lines=5, label="Input Text"),title=title,description=description, examples=examples).launch()
 
3
  title = "papuGaPT2 Demo"
4
  description = "Demo for polish GPT2 for text generation. To use it, simply add your text, or click one of the examples to load them."
5
  examples = [
6
+ ['Dialogi niedobre… Bardzo niedobre dialogi są. W ogóle brak akcji jest. Nic się nie dzieje.'],
7
+ ["Na przykład w jednym sklepie na półkach po rocznym leżeniu cukier ma 80 proc. cukru w cukrze, a w drugim sklepie ma 90 proc. cukru w cukrze, a sacharyna to ma w ogóle 500% cukru w cukrze."],
8
+ ["Moja jest tylko racja i to święta racja. Bo nawet jak jest twoja, to moja jest mojsza niż twojsza. Że właśnie moja racja jest racja najmojsza!"]
9
  ]
10
 
11
  gr.Interface.load("huggingface/flax-community/papuGaPT2", inputs=gr.inputs.Textbox(lines=5, label="Input Text"),title=title,description=description, examples=examples).launch()