Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -1,3 +1,4 @@
|
|
|
|
1 |
import gradio as gr
|
2 |
import pandas as pd
|
3 |
import time
|
@@ -8,7 +9,7 @@ def authenticate_user(username, password):
|
|
8 |
Simple authentication function.
|
9 |
In production, you should use more secure methods like hashed passwords.
|
10 |
"""
|
11 |
-
return username == "demo" and password == "
|
12 |
|
13 |
# --- Core Application Logic ---
|
14 |
def analyze_wod(file_obj, wod_type):
|
|
|
1 |
+
import os
|
2 |
import gradio as gr
|
3 |
import pandas as pd
|
4 |
import time
|
|
|
9 |
Simple authentication function.
|
10 |
In production, you should use more secure methods like hashed passwords.
|
11 |
"""
|
12 |
+
return username == "demo" and password == os.environ["PASSWORD"]
|
13 |
|
14 |
# --- Core Application Logic ---
|
15 |
def analyze_wod(file_obj, wod_type):
|