English_to_Urdu / app.py
Rehman1603's picture
Update app.py
98aba7a verified
raw
history blame contribute delete
199 Bytes
from deep_translator import GoogleTranslator as gt
import gradio as gr
interface=gr.Interface(fn=gt(source='auto',target='urdu').translate,inputs="text",outputs="text")
interface.launch(debug=True)