aliceblue11 commited on
Commit
9f364f1
·
verified ·
1 Parent(s): 7de471b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +10 -4
app.py CHANGED
@@ -39,15 +39,21 @@ with gr.Blocks() as demo:
39
  gr.Markdown(f"# {title}")
40
 
41
  model = gr.Radio(choices=list(MODELS.keys()), label="언어 모델 선택", value="Zephyr 7B Beta")
42
- user_message = gr.Textbox(label="사용자 메시지", lines=5)
43
- system_message = gr.Textbox(label="시스템 메시지 (프롬프트)", lines=10)
 
 
 
 
44
 
45
  # 입력창 2개 추가
46
  input1 = gr.Textbox(label="입력창 1")
47
  input2 = gr.Textbox(label="입력창 2")
48
 
49
- # 출력창 2개 추가
50
- output1 = gr.Textbox(label="출력창 1", lines=10)
 
 
51
  output2 = gr.Textbox(label="출력창 2", lines=10)
52
 
53
  # 엑셀 업로드 기능 추가
 
39
  gr.Markdown(f"# {title}")
40
 
41
  model = gr.Radio(choices=list(MODELS.keys()), label="언어 모델 선택", value="Zephyr 7B Beta")
42
+
43
+ # 사용자 메시지의 명칭을 '긍정리뷰 10개'로 변경
44
+ user_message = gr.Textbox(label="긍정리뷰 10개", lines=5)
45
+
46
+ # 시스템 메시지(프롬프트)의 명칭을 '긍정 프롬프트'로 변경
47
+ system_message = gr.Textbox(label="긍정 프롬프트", lines=10)
48
 
49
  # 입력창 2개 추가
50
  input1 = gr.Textbox(label="입력창 1")
51
  input2 = gr.Textbox(label="입력창 2")
52
 
53
+ # 출력창 1의 명칭을 '긍정리뷰분석'으로 변경
54
+ output1 = gr.Textbox(label="긍정리뷰분석", lines=10)
55
+
56
+ # 출력창 2는 그대로 유지
57
  output2 = gr.Textbox(label="출력창 2", lines=10)
58
 
59
  # 엑셀 업로드 기능 추가