shweaung commited on
Commit
ce1ed13
1 Parent(s): 5be34e2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -15,7 +15,7 @@ timeout = 100
15
 
16
  article_text = """
17
  <div style="text-align: center;">
18
- <p>ဒီ Tool မှာ Train ထားသည့် Custom Model များကို ထည့်သွင်းပြီးထုတ်နိုင်ပါတယ်</p>
19
  <div style="display: flex; justify-content: center;">
20
  <a href="https://writtech.com/waloneai/walone-lora-library/">
21
  <img src="https://writtech.com/waloneai/premium/lora.png"
@@ -101,7 +101,7 @@ with gr.Blocks(theme='Nymbo/Nymbo_Theme', css=css) as app:
101
  with gr.Row():
102
  text_prompt = gr.Textbox(label="Prompt", placeholder="Enter a prompt here", lines=2, elem_id="prompt-text-input")
103
  with gr.Row():
104
- custom_lora = gr.Textbox(label="Custom Model", info="Model path (Walone Model Library မှာ Model path များရနိုင်ပါတယ်)", placeholder="shweaung/vintage-ads-flux")
105
  with gr.Row():
106
  with gr.Accordion("Advanced Settings", open=False):
107
  with gr.Row():
@@ -131,4 +131,4 @@ with gr.Blocks(theme='Nymbo/Nymbo_Theme', css=css) as app:
131
 
132
  text_button.click(query, inputs=[custom_lora, text_prompt, steps, cfg, randomize_seed, seed, width, height], outputs=[image_output,seed_output, seed])
133
 
134
- app.launch(show_api=False, share=False)
 
15
 
16
  article_text = """
17
  <div style="text-align: center;">
18
+ <p>Walone LoRA Library မှ Train ထားသည့် Custom Model များကို ထည့်သွင်းပြီးထုတ်နိုင်ပါတယ်။</p>
19
  <div style="display: flex; justify-content: center;">
20
  <a href="https://writtech.com/waloneai/walone-lora-library/">
21
  <img src="https://writtech.com/waloneai/premium/lora.png"
 
101
  with gr.Row():
102
  text_prompt = gr.Textbox(label="Prompt", placeholder="Enter a prompt here", lines=2, elem_id="prompt-text-input")
103
  with gr.Row():
104
+ custom_lora = gr.Textbox(label="Custom Model", info="Model path (Walone LoRA Library မှာ Model path များရနိုင်ပါတယ်)", placeholder="shweaung/mawc-cc")
105
  with gr.Row():
106
  with gr.Accordion("Advanced Settings", open=False):
107
  with gr.Row():
 
131
 
132
  text_button.click(query, inputs=[custom_lora, text_prompt, steps, cfg, randomize_seed, seed, width, height], outputs=[image_output,seed_output, seed])
133
 
134
+ app.launch(show_api=False, share=True)