Spaces:
Runtime error
Runtime error
Omar Sanseviero
commited on
Commit
·
8a8b6d8
1
Parent(s):
28323ea
Update app.py
Browse files
app.py
CHANGED
|
@@ -6,9 +6,9 @@ def fork(source_repo, token, type):
|
|
| 6 |
interface = gr.Interface(
|
| 7 |
fn=fork,
|
| 8 |
inputs=[
|
| 9 |
-
gr.inputs.Textbox(
|
| 10 |
-
gr.inputs.Textbox(
|
| 11 |
-
gr.inputs.Dropdown(
|
| 12 |
],
|
| 13 |
outputs=["textbox"],
|
| 14 |
allow_flagging=False,
|
|
|
|
| 6 |
interface = gr.Interface(
|
| 7 |
fn=fork,
|
| 8 |
inputs=[
|
| 9 |
+
gr.inputs.Textbox(placeholder="Source repository"),
|
| 10 |
+
gr.inputs.Textbox(placeholder="Write access token"),
|
| 11 |
+
gr.inputs.Dropdown(choices=["model", "dataset", "space"])
|
| 12 |
],
|
| 13 |
outputs=["textbox"],
|
| 14 |
allow_flagging=False,
|