Commit
·
426aad5
1
Parent(s):
2b849d7
Update app.py
Browse files
app.py
CHANGED
|
@@ -44,9 +44,9 @@ def duplicate(source_repo, dst_repo, token, repo_type):
|
|
| 44 |
interface = gr.Interface(
|
| 45 |
fn=duplicate,
|
| 46 |
inputs=[
|
| 47 |
-
gr.Textbox(placeholder="Source repository (e.g. osanseviero/src)"
|
| 48 |
gr.Textbox(placeholder="Destination repository (e.g. osanseviero/dst)"),
|
| 49 |
-
gr.Textbox(placeholder="Write access token"),
|
| 50 |
gr.Dropdown(choices=REPO_TYPES, value="model"),
|
| 51 |
],
|
| 52 |
outputs=[
|
|
|
|
| 44 |
interface = gr.Interface(
|
| 45 |
fn=duplicate,
|
| 46 |
inputs=[
|
| 47 |
+
gr.Textbox(placeholder="Source repository (e.g. osanseviero/src)"),
|
| 48 |
gr.Textbox(placeholder="Destination repository (e.g. osanseviero/dst)"),
|
| 49 |
+
gr.Textbox(placeholder="Write access token", type="password"),
|
| 50 |
gr.Dropdown(choices=REPO_TYPES, value="model"),
|
| 51 |
],
|
| 52 |
outputs=[
|