pravin0077 commited on
Commit
1786f21
·
verified ·
1 Parent(s): e9f4029

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -3
app.py CHANGED
@@ -47,7 +47,7 @@ def process_input(tamil_input):
47
  return translated_output, creative_output, image
48
 
49
 
50
- iface = gr.Interface(
51
  fn=process_input,
52
  inputs=[gr.Textbox(label="Input Tamil Text")],
53
  outputs=[
@@ -58,5 +58,4 @@ iface = gr.Interface(
58
  title="TRANSART",
59
  description="Enter Tamil text to translate to English and generate an image based on the translated text."
60
  )
61
-
62
- interface.launch()
 
47
  return translated_output, creative_output, image
48
 
49
 
50
+ interface = gr.Interface(
51
  fn=process_input,
52
  inputs=[gr.Textbox(label="Input Tamil Text")],
53
  outputs=[
 
58
  title="TRANSART",
59
  description="Enter Tamil text to translate to English and generate an image based on the translated text."
60
  )
61
+ interface.launch()