Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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=ๅ่ฒ ้ข)")
|