Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -47,7 +47,7 @@ def process_input(tamil_input):
|
|
47 |
return translated_output, creative_output, image
|
48 |
|
49 |
|
50 |
-
|
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()
|
|