Commit
·
680ce56
1
Parent(s):
4c78041
fix uid
Browse files
app_text_classification.py
CHANGED
|
@@ -33,9 +33,14 @@ logger = logging.getLogger(__name__)
|
|
| 33 |
def get_demo():
|
| 34 |
with gr.Row():
|
| 35 |
gr.Markdown(INTRODUCTION_MD)
|
| 36 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 37 |
gr.HTML(LOG_IN_TIPS)
|
| 38 |
gr.LoginButton()
|
|
|
|
| 39 |
with gr.Row():
|
| 40 |
model_id_input = gr.Textbox(
|
| 41 |
label="Hugging Face Model id",
|
|
|
|
| 33 |
def get_demo():
|
| 34 |
with gr.Row():
|
| 35 |
gr.Markdown(INTRODUCTION_MD)
|
| 36 |
+
uid_label = gr.Textbox(
|
| 37 |
+
label="Evaluation ID:", value=uuid.uuid4, visible=False, interactive=False
|
| 38 |
+
)
|
| 39 |
+
|
| 40 |
+
with gr.Accordion(label="Log In", open=True):
|
| 41 |
gr.HTML(LOG_IN_TIPS)
|
| 42 |
gr.LoginButton()
|
| 43 |
+
|
| 44 |
with gr.Row():
|
| 45 |
model_id_input = gr.Textbox(
|
| 46 |
label="Hugging Face Model id",
|