Spaces:
Sleeping
Sleeping
Commit
·
095cb52
1
Parent(s):
d56cf4e
modified share=True in demo launch
Browse files
app.py
CHANGED
|
@@ -429,8 +429,9 @@ with gr.Blocks() as demo:
|
|
| 429 |
"""
|
| 430 |
)
|
| 431 |
|
| 432 |
-
|
| 433 |
-
login_btn.
|
|
|
|
| 434 |
|
| 435 |
run_button = gr.Button("Run Evaluation & Submit All Answers")
|
| 436 |
|
|
@@ -465,4 +466,6 @@ if __name__ == "__main__":
|
|
| 465 |
print("-"*(60 + len(" App Starting ")) + "\n")
|
| 466 |
|
| 467 |
print("Launching Gradio Interface for Basic Agent Evaluation...")
|
| 468 |
-
|
|
|
|
|
|
|
|
|
| 429 |
"""
|
| 430 |
)
|
| 431 |
|
| 432 |
+
gr.LoginButton()
|
| 433 |
+
# login_btn = gr.LoginButton()
|
| 434 |
+
# login_btn.activate()
|
| 435 |
|
| 436 |
run_button = gr.Button("Run Evaluation & Submit All Answers")
|
| 437 |
|
|
|
|
| 466 |
print("-"*(60 + len(" App Starting ")) + "\n")
|
| 467 |
|
| 468 |
print("Launching Gradio Interface for Basic Agent Evaluation...")
|
| 469 |
+
|
| 470 |
+
# Launch the Gradio app
|
| 471 |
+
demo.launch(debug=True) #share=True
|