Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -220,10 +220,10 @@ def translation_text(source_lang, target_lang, user_input):
|
|
220 |
def print_s(source_lang, target_lang, text0):
|
221 |
print(source_lang)
|
222 |
return lang_id[source_lang], lang_id[target_lang], text0
|
223 |
-
demo = gr.Blocks()
|
224 |
|
225 |
with demo:
|
226 |
-
|
227 |
text0 = gr.Textbox(label = "Enter text here....")
|
228 |
text = gr.Textbox(label = "output of every action will be reflected in this block....")
|
229 |
#gr.Markdown("Speech analyzer")
|
|
|
220 |
def print_s(source_lang, target_lang, text0):
|
221 |
print(source_lang)
|
222 |
return lang_id[source_lang], lang_id[target_lang], text0
|
223 |
+
demo = gr.Blocks(title = "Text Analyzer")
|
224 |
|
225 |
with demo:
|
226 |
+
|
227 |
text0 = gr.Textbox(label = "Enter text here....")
|
228 |
text = gr.Textbox(label = "output of every action will be reflected in this block....")
|
229 |
#gr.Markdown("Speech analyzer")
|