Spaces:
Running
Running
remove app sdk from user
Browse files
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
|
| 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=
|
| 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)]
|