Spaces:
Sleeping
Sleeping
make the git hash more obvious
Browse files
app.py
CHANGED
|
@@ -72,7 +72,7 @@ def run_and_submit_all(profile: gr.OAuthProfile | None):
|
|
| 72 |
return "Please Login to Hugging Face with the button.", None
|
| 73 |
|
| 74 |
git_hash = get_git_hash()
|
| 75 |
-
print("-"*
|
| 76 |
|
| 77 |
api_url = DEFAULT_API_URL
|
| 78 |
questions_url = f"{api_url}/questions"
|
|
@@ -259,7 +259,9 @@ if __name__ == "__main__":
|
|
| 259 |
|
| 260 |
print("-" * (60 + len(" App Starting ")) + "\n")
|
| 261 |
|
| 262 |
-
|
|
|
|
|
|
|
| 263 |
|
| 264 |
print("Launching Gradio Interface for Basic Agent Evaluation...")
|
| 265 |
demo.launch(debug=True, share=False)
|
|
|
|
| 72 |
return "Please Login to Hugging Face with the button.", None
|
| 73 |
|
| 74 |
git_hash = get_git_hash()
|
| 75 |
+
print("-"*23 + f"> {git_hash=} <" + "-"*23)
|
| 76 |
|
| 77 |
api_url = DEFAULT_API_URL
|
| 78 |
questions_url = f"{api_url}/questions"
|
|
|
|
| 259 |
|
| 260 |
print("-" * (60 + len(" App Starting ")) + "\n")
|
| 261 |
|
| 262 |
+
git_hash = get_git_hash()
|
| 263 |
+
print("*"*23 + f" {git_hash=} " + "*"*23)
|
| 264 |
+
print("-" * 60 + "\n")
|
| 265 |
|
| 266 |
print("Launching Gradio Interface for Basic Agent Evaluation...")
|
| 267 |
demo.launch(debug=True, share=False)
|