abidlabs HF staff commited on
Commit
c92a2d4
·
verified ·
1 Parent(s): 586ce2c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -1,7 +1,7 @@
1
  import gradio as gr
2
 
3
  def func(file_obj) -> str:
4
- return file_obj.name
5
 
6
  def auth(username: str, passwd: str) -> bool:
7
  return username == "tom" and passwd == "tom"
 
1
  import gradio as gr
2
 
3
  def func(file_obj) -> str:
4
+ return file_obj
5
 
6
  def auth(username: str, passwd: str) -> bool:
7
  return username == "tom" and passwd == "tom"