Frenchizer commited on
Commit
c9d02af
·
1 Parent(s): b55eab0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -0
app.py CHANGED
@@ -61,4 +61,10 @@ def process_request(input_text):
61
  context = detect_context(input_text)
62
  translation = translate_text(input_text)
63
  return translation, context
 
 
 
 
 
 
64
  ).launch()
 
61
  context = detect_context(input_text)
62
  translation = translate_text(input_text)
63
  return translation, context
64
+
65
+ gr.Interface(
66
+ fn=process_request,
67
+ inputs="text",
68
+ outputs="text",
69
+ live=True
70
  ).launch()