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

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -4
app.py CHANGED
@@ -26,14 +26,16 @@ 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.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()
 
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
+
40
+
41
  demo.launch()