Spaces:
Runtime error
Runtime error
Update app.py from anycoder
Browse files
app.py
CHANGED
|
@@ -201,7 +201,7 @@ with gr.Blocks() as demo:
|
|
| 201 |
|
| 202 |
gr.HTML(article)
|
| 203 |
|
| 204 |
-
submit_btn.click(infer, inputs, outputs
|
| 205 |
|
| 206 |
# Launch with Gradio 6 syntax - all parameters in launch()
|
| 207 |
demo.queue(max_size=12).launch(
|
|
@@ -213,6 +213,5 @@ demo.queue(max_size=12).launch(
|
|
| 213 |
css_paths=["style.css"],
|
| 214 |
footer_links=[
|
| 215 |
{"label": "Built with anycoder", "url": "https://huggingface.co/spaces/akhaliq/anycoder"}
|
| 216 |
-
]
|
| 217 |
-
show_api=False
|
| 218 |
)
|
|
|
|
| 201 |
|
| 202 |
gr.HTML(article)
|
| 203 |
|
| 204 |
+
submit_btn.click(infer, inputs=inputs, outputs=outputs)
|
| 205 |
|
| 206 |
# Launch with Gradio 6 syntax - all parameters in launch()
|
| 207 |
demo.queue(max_size=12).launch(
|
|
|
|
| 213 |
css_paths=["style.css"],
|
| 214 |
footer_links=[
|
| 215 |
{"label": "Built with anycoder", "url": "https://huggingface.co/spaces/akhaliq/anycoder"}
|
| 216 |
+
]
|
|
|
|
| 217 |
)
|