PixelistStudio commited on
Commit
aef4158
1 Parent(s): 5a21032

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -50,7 +50,7 @@ with gr.Blocks() as myface:
50
  input_text = gr.Textbox(label="ایده درخواستی", placeholder="", lines=1)
51
  # Model selection dropdown
52
  model_name1 = gr.Dropdown(
53
- label="Choose Model",
54
  choices=[m["name"] for m in models],
55
  type="index",
56
  value=current_model["name"],
@@ -65,17 +65,17 @@ with gr.Blocks() as myface:
65
  output2 = gr.Image(label="")
66
  output3 = gr.Image(label="")
67
  with gr.Row():
68
- magic1 = gr.Textbox(label="شرح درخواست ۱", lines=2)
69
  magic2 = gr.Textbox(label="شرح درخواست ۲", lines=2)
70
- magic3 = gr.Textbox(label="شرح درخواست ۳", lines=2)
71
  with gr.Row():
72
  output4 = gr.Image(label="")
73
  output5 = gr.Image(label="")
74
  output6 = gr.Image(label="")
75
  with gr.Row():
76
- magic4 = gr.Textbox(label="شرح درخواست ۴", lines=2)
77
  magic5 = gr.Textbox(label="شرح درخواست ۵", lines=2)
78
- magic6 = gr.Textbox(label="شرح درخواست ۶", lines=2)
79
 
80
  model_name1.change(set_model, inputs=model_name1, outputs=[output1, output2, output3, output4, output5, output6])
81
 
 
50
  input_text = gr.Textbox(label="ایده درخواستی", placeholder="", lines=1)
51
  # Model selection dropdown
52
  model_name1 = gr.Dropdown(
53
+ label="نوع تصویر سازی",
54
  choices=[m["name"] for m in models],
55
  type="index",
56
  value=current_model["name"],
 
65
  output2 = gr.Image(label="")
66
  output3 = gr.Image(label="")
67
  with gr.Row():
68
+ magic1 = gr.Textbox(label="شرح درخواست ۳", lines=2)
69
  magic2 = gr.Textbox(label="شرح درخواست ۲", lines=2)
70
+ magic3 = gr.Textbox(label="شرح درخواست ۱", lines=2)
71
  with gr.Row():
72
  output4 = gr.Image(label="")
73
  output5 = gr.Image(label="")
74
  output6 = gr.Image(label="")
75
  with gr.Row():
76
+ magic4 = gr.Textbox(label="شرح درخواست ۶", lines=2)
77
  magic5 = gr.Textbox(label="شرح درخواست ۵", lines=2)
78
+ magic6 = gr.Textbox(label="شرح درخواست ۴", lines=2)
79
 
80
  model_name1.change(set_model, inputs=model_name1, outputs=[output1, output2, output3, output4, output5, output6])
81