Unggi commited on
Commit
4725d98
β€’
1 Parent(s): 47ca0aa

add examples

Browse files
Files changed (1) hide show
  1. app.py +4 -1
app.py CHANGED
@@ -47,7 +47,10 @@ def inference(prompt):
47
  demo = gr.Interface(
48
  fn=inference,
49
  inputs="text",
50
- outputs="text" #return κ°’
 
 
 
51
  ).launch() # launch(share=True)λ₯Ό μ„€μ •ν•˜λ©΄ μ™ΈλΆ€μ—μ„œ 접속 κ°€λŠ₯ν•œ 링크가 생성됨
52
 
53
  demo.launch()
 
47
  demo = gr.Interface(
48
  fn=inference,
49
  inputs="text",
50
+ outputs="text", #return κ°’
51
+ examples=[
52
+ "μž‘μ€ 씨앗 ν•˜λ‚˜ 길가에 λ–¨μ–΄μ‘Œμ–΄μš”\nμ•ˆλΌμš” μ•ˆλΌμš” λͺ¨λ‘λ“€ λ°ŸμœΌλ‹ˆκΉŒμš”\nμž‘μ€ 씨앗 ν•˜λ‚˜ λŒλ°­μ— λ–¨μ–΄μ‘Œμ–΄μš”\nμ‹«μ–΄μš” μ‹«μ–΄μš” 크게 μžλž„ 수 μ—†μ–΄μš”\nμž‘μ€ 씨앗 ν•˜λ‚˜ κ°€μ‹œλ°­μ— λ–¨μ–΄μ‘Œμ–΄μš”\nμ•„ μ•Όμ•Ό, μ•„νŒŒμš” μˆ¨μ„ 쉴 μˆ˜κ°€ μ—†μ–΄μš”\nμž‘μ€ 씨앗 ν•˜λ‚˜ 쒋은 밭에 λ–¨μ–΄μ‘Œμ–΄μš”\nμ’‹μ•„μš” μ’‹μ•„μš” 잘 μžλΌμ„œ 쒋은 λ‚˜λ¬΄ λ˜κ² μ–΄μš”"
53
+ ]
54
  ).launch() # launch(share=True)λ₯Ό μ„€μ •ν•˜λ©΄ μ™ΈλΆ€μ—μ„œ 접속 κ°€λŠ₯ν•œ 링크가 생성됨
55
 
56
  demo.launch()