Spaces:
Runtime error
Runtime error
Commit
•
ce6f085
1
Parent(s):
6702974
Update app.py
Browse files
app.py
CHANGED
@@ -29,11 +29,11 @@ with gr.Blocks() as demo:
|
|
29 |
with gr.Column():
|
30 |
repo_git = gr.Textbox(label="GitHub Repository")
|
31 |
repo_hf = gr.Textbox(label="Hugging Face Space name")
|
32 |
-
|
33 |
with gr.Column():
|
34 |
output = gr.Textbox(label="Output repo")
|
35 |
btn = gr.Button("Bring over!")
|
36 |
-
btn.click(fn=clone, inputs=[repo_git, repo_hf,
|
37 |
|
38 |
if __name__ == "__main__":
|
39 |
demo.launch()
|
|
|
29 |
with gr.Column():
|
30 |
repo_git = gr.Textbox(label="GitHub Repository")
|
31 |
repo_hf = gr.Textbox(label="Hugging Face Space name")
|
32 |
+
sdk_choices = gr.Radio(["gradio", "streamlit", "docker", "static"], label="SDK Choices")
|
33 |
with gr.Column():
|
34 |
output = gr.Textbox(label="Output repo")
|
35 |
btn = gr.Button("Bring over!")
|
36 |
+
btn.click(fn=clone, inputs=[repo_git, repo_hf, sdk_choices], outputs=output)
|
37 |
|
38 |
if __name__ == "__main__":
|
39 |
demo.launch()
|