Spaces:
Runtime error
Runtime error
AIMage2024
commited on
Commit
•
419a078
1
Parent(s):
80bbbe6
Update gradio_app.py
Browse files- gradio_app.py +0 -6
gradio_app.py
CHANGED
@@ -85,12 +85,6 @@ def dynamicrafter_demo(result_dir='./tmp/', res=512):
|
|
85 |
def get_parser():
|
86 |
parser = argparse.ArgumentParser()
|
87 |
return parser
|
88 |
-
|
89 |
-
def check_auth(username, password):
|
90 |
-
if len(username) == 0: return False
|
91 |
-
user = os.getenv(username)
|
92 |
-
if user is None: return False
|
93 |
-
return user == password
|
94 |
|
95 |
if __name__ == "__main__":
|
96 |
parser = get_parser()
|
|
|
85 |
def get_parser():
|
86 |
parser = argparse.ArgumentParser()
|
87 |
return parser
|
|
|
|
|
|
|
|
|
|
|
|
|
88 |
|
89 |
if __name__ == "__main__":
|
90 |
parser = get_parser()
|