AiCoderv2 commited on
Commit
86a6f65
·
verified ·
1 Parent(s): 116a125

Update app.py from anycoder

Browse files
Files changed (1) hide show
  1. app.py +2 -3
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, api_visibility="private")
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
  )