Ben Burtenshaw commited on
Commit
31d8f00
·
1 Parent(s): b3323d3

move oauth and url

Browse files
Files changed (1) hide show
  1. app.py +2 -3
app.py CHANGED
@@ -78,6 +78,7 @@ with gr.Blocks() as app:
78
  """
79
  )
80
 
 
81
  with gr.Group():
82
  with gr.Row():
83
  with gr.Column():
@@ -86,7 +87,6 @@ with gr.Blocks() as app:
86
  dataset_name_input = gr.Textbox(
87
  label="Dataset Repo ID", value=dataset.load_dataset_name()
88
  )
89
- gr.LoginButton()
90
  with gr.Column():
91
  split_input = gr.Dropdown(
92
  label="Dataset Split",
@@ -99,9 +99,8 @@ with gr.Blocks() as app:
99
  argilla_space_name = gr.Textbox(
100
  label="Argilla Space Name", value=f"{dataset_name.value}_argilla"
101
  )
102
- argilla_space_url = gr.Textbox(label="Argilla Space URL")
103
-
104
  create_argilla_space_btn = gr.Button(value="2️⃣ Create Argilla Space")
 
105
 
106
  ##############################################
107
  # Define the Argilla dataset configuration
 
78
  """
79
  )
80
 
81
+ gr.LoginButton()
82
  with gr.Group():
83
  with gr.Row():
84
  with gr.Column():
 
87
  dataset_name_input = gr.Textbox(
88
  label="Dataset Repo ID", value=dataset.load_dataset_name()
89
  )
 
90
  with gr.Column():
91
  split_input = gr.Dropdown(
92
  label="Dataset Split",
 
99
  argilla_space_name = gr.Textbox(
100
  label="Argilla Space Name", value=f"{dataset_name.value}_argilla"
101
  )
 
 
102
  create_argilla_space_btn = gr.Button(value="2️⃣ Create Argilla Space")
103
+ argilla_space_url = gr.Textbox(label="Argilla Space URL", info="Create a new Argilla space or add the URL of an existing one here")
104
 
105
  ##############################################
106
  # Define the Argilla dataset configuration