xinhe0616 commited on
Commit
9310cb3
โ€ข
1 Parent(s): 8968cf4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -15,7 +15,7 @@ def poem_generator(txt,n=100):
15
  return s2t(poem),sentiment[0]
16
 
17
  import gradio as gr
18
- inp1=gr.inputs.Textbox(label="่ซ‹่ผธๅ…ฅไธ€ๆฎต่ฉฉ่ฉž")
19
  inp2=gr.inputs.Slider(minimum=50,maximum=250,step=5,default=150, label="็”Ÿๆˆ่ฉฉ่ฉž้•ทๅบฆ")
20
  op1=gr.outputs.Textbox(label="็”Ÿๆˆ่ฉฉ่ฉž็ตๆžœ")
21
  op2=gr.outputs.Textbox(label="ๆƒ…ๆ„Ÿๅˆ†ๆž(positive=ๅๆญฃ้ข, negative=ๅ่ฒ ้ข)")
 
15
  return s2t(poem),sentiment[0]
16
 
17
  import gradio as gr
18
+ inp1=gr.inputs.Textbox(label="่ซ‹่ผธๅ…ฅไธ€ๆฎตๆ–‡ๅญ—")
19
  inp2=gr.inputs.Slider(minimum=50,maximum=250,step=5,default=150, label="็”Ÿๆˆ่ฉฉ่ฉž้•ทๅบฆ")
20
  op1=gr.outputs.Textbox(label="็”Ÿๆˆ่ฉฉ่ฉž็ตๆžœ")
21
  op2=gr.outputs.Textbox(label="ๆƒ…ๆ„Ÿๅˆ†ๆž(positive=ๅๆญฃ้ข, negative=ๅ่ฒ ้ข)")