mirror of
https://github.com/hiyouga/LLaMA-Factory.git
synced 2025-11-05 18:32:14 +08:00
fix colab gradio
Former-commit-id: 26179a29d3400d1fea155e325a79473a8bc12f04
This commit is contained in:
parent
419a3849f2
commit
5fd6199ef8
@ -69,8 +69,8 @@ def create_web_demo() -> gr.Blocks:
|
|||||||
|
|
||||||
|
|
||||||
def run_web_ui():
|
def run_web_ui():
|
||||||
create_ui().queue().launch(server_name="0.0.0.0", server_port=None, share=False, inbrowser=True)
|
create_ui().queue().launch(server_name="0.0.0.0")
|
||||||
|
|
||||||
|
|
||||||
def run_web_demo():
|
def run_web_demo():
|
||||||
create_web_demo().queue().launch(server_name="0.0.0.0", server_port=None, share=False, inbrowser=True)
|
create_web_demo().queue().launch(server_name="0.0.0.0")
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user