PLatonG commited on
Commit
5f3635d
·
verified ·
1 Parent(s): fc0baa4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -240,14 +240,15 @@ with gr.Blocks() as demo:
240
  return "คำสั่ง : จงสร้างคำแนะนำของผู้เชี่ยวชาญจากปัจจัยดังต่อไปนี้ " + " ".join(str(value) for value in values)
241
 
242
 
243
-
244
  instruction = gr.Textbox(label = "คำสั่ง", value="จงสร้างคำแนะนำของผู้เชี่ยวชาญจากปัจจัยดังต่อไปนี้", visible=True, interactive=False)
245
  input_compo = gr.Textbox(label = "ข้อมูลเข้า (input)")
 
246
  outputModel = gr.Textbox(label= "ผลลัพธ์ (output)")
247
  stream_output = gr.components.Checkbox(label="Stream output")
248
 
249
 
250
- btn1 = gr.Button("GENERATE INPUT")
251
 
252
  # show input text format for user
253
  btn1.click(fn=generate_input, inputs=[birth_year, nationality_name, religion_name, sex,
 
240
  return "คำสั่ง : จงสร้างคำแนะนำของผู้เชี่ยวชาญจากปัจจัยดังต่อไปนี้ " + " ".join(str(value) for value in values)
241
 
242
 
243
+
244
  instruction = gr.Textbox(label = "คำสั่ง", value="จงสร้างคำแนะนำของผู้เชี่ยวชาญจากปัจจัยดังต่อไปนี้", visible=True, interactive=False)
245
  input_compo = gr.Textbox(label = "ข้อมูลเข้า (input)")
246
+ btn1 = gr.Button("GENERATE INPUT")
247
  outputModel = gr.Textbox(label= "ผลลัพธ์ (output)")
248
  stream_output = gr.components.Checkbox(label="Stream output")
249
 
250
 
251
+
252
 
253
  # show input text format for user
254
  btn1.click(fn=generate_input, inputs=[birth_year, nationality_name, religion_name, sex,