playgrdstar commited on
Commit
b3577aa
1 Parent(s): 3909801

Add check truncation and remove server port

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -270,5 +270,5 @@ with gr.Blocks(css='style.css') as demo:
270
  else:
271
  process.click(generate_from_api, inputs=[prompt, model_name, temperature, max_tokens], outputs=[output])
272
 
273
- demo.launch(server_port=8080)
274
- # demo.launch()
 
270
  else:
271
  process.click(generate_from_api, inputs=[prompt, model_name, temperature, max_tokens], outputs=[output])
272
 
273
+ # demo.launch(server_port=8080)
274
+ demo.launch()