Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -83,7 +83,8 @@ with demo:
|
|
83 |
with gr.Row():
|
84 |
input_prompt = gr.Textbox(label="Write some text to get started...", lines=3, value="Ishq kya hai ki")
|
85 |
e = XlitEngine("hi", beam_width=10, rescore=True)
|
86 |
-
input_prompt
|
|
|
87 |
with gr.Row():
|
88 |
generated_txt = gr.Textbox(lines=25, visible = True)
|
89 |
|
|
|
83 |
with gr.Row():
|
84 |
input_prompt = gr.Textbox(label="Write some text to get started...", lines=3, value="Ishq kya hai ki")
|
85 |
e = XlitEngine("hi", beam_width=10, rescore=True)
|
86 |
+
strtrans=input_prompt.value
|
87 |
+
input_prompt = e.translit_sentence(strtrans)
|
88 |
with gr.Row():
|
89 |
generated_txt = gr.Textbox(lines=25, visible = True)
|
90 |
|