akhaliq HF Staff commited on
Commit
d983d11
Β·
1 Parent(s): 01f650b

remove app sdk from user

Browse files
Files changed (2) hide show
  1. README.md +1 -1
  2. app.py +1 -1
README.md CHANGED
@@ -66,7 +66,7 @@ python app.py
66
  4. Click "Generate" to create your code
67
  5. View the generated code in the Code tab or see it in action in the Preview tab
68
  6. Use the History tab to review previous generations
69
- 7. **Deploy to Space**: Enter a title, select SDK, and click "πŸš€ Deploy App" to publish your application (OAuth login required)
70
 
71
  ## Supported Models
72
 
 
66
  4. Click "Generate" to create your code
67
  5. View the generated code in the Code tab or see it in action in the Preview tab
68
  6. Use the History tab to review previous generations
69
+ 7. **Deploy to Space**: Enter a title and click "πŸš€ Deploy App" to publish your application (OAuth login required) - the SDK is automatically matched to your selected code language
70
 
71
  ## Supported Models
72
 
app.py CHANGED
@@ -8235,7 +8235,7 @@ with gr.Blocks(
8235
  tjs_css_code.change(preview_from_tjs_editors, inputs=[tjs_html_code, tjs_js_code, tjs_css_code], outputs=sandbox)
8236
 
8237
  def show_deploy_components(*args):
8238
- return [gr.Textbox(visible=True), gr.Dropdown(visible=True), gr.Button(visible=True)]
8239
 
8240
  def hide_deploy_components(*args):
8241
  return [gr.Textbox(visible=False), gr.Dropdown(visible=False), gr.Button(visible=False)]
 
8235
  tjs_css_code.change(preview_from_tjs_editors, inputs=[tjs_html_code, tjs_js_code, tjs_css_code], outputs=sandbox)
8236
 
8237
  def show_deploy_components(*args):
8238
+ return [gr.Textbox(visible=True), gr.Dropdown(visible=False), gr.Button(visible=True)]
8239
 
8240
  def hide_deploy_components(*args):
8241
  return [gr.Textbox(visible=False), gr.Dropdown(visible=False), gr.Button(visible=False)]