NeoPy commited on
Commit
6095856
·
verified ·
1 Parent(s): e3b9e1f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -7
app.py CHANGED
@@ -26,14 +26,12 @@ def clone(profile: gr.OAuthProfile, oauth_token: gr.OAuthToken, repo_git, repo_h
26
  with gr.Blocks() as demo:
27
  gr.LoginButton()
28
  with gr.Row():
29
- with gr.Row():
30
- btn = gr.Button("Bring over!")
31
  with gr.Column():
32
- repo_git = gr.Textbox(label="GitHub Repository")
33
- repo_hf = gr.Textbox(label="Hugging Face Space name")
34
- sdk_choices = gr.Radio(["gradio", "streamlit", "docker", "static"], label="SDK Choices")
35
- with gr.Column():
36
- output = gr.Textbox(label="Output repo")
37
 
38
  btn.click(fn=clone, inputs=[repo_git, repo_hf, sdk_choices], outputs=output)
39
 
 
26
  with gr.Blocks() as demo:
27
  gr.LoginButton()
28
  with gr.Row():
29
+ btn = gr.Button("Bring over!")
 
30
  with gr.Column():
31
+ repo_git = gr.Textbox(label="GitHub Repository")
32
+ repo_hf = gr.Textbox(label="Hugging Face Space name")
33
+ sdk_choices = gr.Radio(["gradio", "streamlit", "docker", "static"], label="SDK Choices")
34
+ output = gr.Textbox(label="Output repo")
 
35
 
36
  btn.click(fn=clone, inputs=[repo_git, repo_hf, sdk_choices], outputs=output)
37