Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -83,7 +83,7 @@ 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 = e.
|
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 |
+
input_prompt = e.translit_sentence(input_prompt)
|
87 |
with gr.Row():
|
88 |
generated_txt = gr.Textbox(lines=25, visible = True)
|
89 |
|