Xaot6 commited on
Commit
d12c712
1 Parent(s): a4307c0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -3,11 +3,11 @@ import gradio as gr
3
  def process_file(file):
4
  if file is not None:
5
  return file.name
6
- return "No file uploaded yet."
7
 
8
  iface = gr.Interface(
9
  fn=process_file,
10
- inputs=gr.inputs.File(label="Upload your file"),
11
  outputs="text",
12
  live=False
13
  )
 
3
  def process_file(file):
4
  if file is not None:
5
  return file.name
6
+ return "No file uploaded."
7
 
8
  iface = gr.Interface(
9
  fn=process_file,
10
+ inputs=gr.File(label="Upload your file"),
11
  outputs="text",
12
  live=False
13
  )