JosephH commited on
Commit
8f37c86
·
verified ·
1 Parent(s): 6cd4d52

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -7,8 +7,8 @@ def process_text(text):
7
  # Create the Gradio interface
8
  iface = gr.Interface(
9
  fn=process_text, # Function to process input
10
- inputs="text", # Type of input widget
11
- outputs="text" # Type of output widget
12
  )
13
 
14
  # Launch the app
 
7
  # Create the Gradio interface
8
  iface = gr.Interface(
9
  fn=process_text, # Function to process input
10
+ inputs=gr.Textbox(label="Lütfen çevirilecek Türkçe metni girin"), # Type of input widget
11
+ outputs=gr.Textbox(label="İngilizce çeviri") # Type of output widget
12
  )
13
 
14
  # Launch the app