Vladislav Krasnov commited on
Commit
2aa5988
·
1 Parent(s): fd89608

Update space 5

Browse files
Files changed (1) hide show
  1. app.py +8 -0
app.py CHANGED
@@ -73,4 +73,12 @@ with gr.Blocks(title="LiveCoder LLM API", theme=gr.themes.Soft()) as demo:
73
 
74
  clear.click(lambda: None, None, chatbot, queue=False)
75
 
 
 
 
 
 
 
 
 
76
  demo.launch(server_name="0.0.0.0", server_port=7860, share=False)
 
73
 
74
  clear.click(lambda: None, None, chatbot, queue=False)
75
 
76
+ # Выводим информацию о запуске
77
+ print("=" * 20)
78
+ print(f"Space name: {YOUR_SPACE_NAME}")
79
+ print(f"Username: {YOUR_USERNAME}")
80
+ print(f"Local URL: http://0.0.0.0:7860")
81
+ print(f"Public API endpoint: https://{YOUR_USERNAME}-{YOUR_SPACE_NAME}.hf.space/run/predict")
82
+ print("=" * 20)
83
+
84
  demo.launch(server_name="0.0.0.0", server_port=7860, share=False)