skang187 commited on
Commit
f294258
·
1 Parent(s): 7280027

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -7
app.py CHANGED
@@ -164,8 +164,8 @@ import gradio as gr
164
  generator1 = gr.Interface(
165
  fn=yeollm_text,
166
  inputs=[
167
- gr.inputs.Textbox(label="Instruction"),
168
- gr.inputs.Textbox(label="Summary")
169
  ],
170
  outputs=gr.outputs.Textbox(label="Yeollm Scenario"),
171
  title="Yeollm Scenario Generation",
@@ -176,8 +176,8 @@ generator1 = gr.Interface(
176
  generator2 = gr.Interface(
177
  fn=davinci_text,
178
  inputs=[
179
- gr.inputs.Textbox(label="Instruction"),
180
- gr.inputs.Textbox(label="Summary")
181
  ],
182
  outputs=gr.outputs.Textbox(label="Davinci Scenario"),
183
  title="Davinci Generation",
@@ -188,8 +188,8 @@ generator2 = gr.Interface(
188
  generator3 = gr.Interface(
189
  fn=gpt_text,
190
  inputs=[
191
- gr.inputs.Textbox(label="Instruction"),
192
- gr.inputs.Textbox(label="Summary")
193
  ],
194
  outputs=gr.outputs.Textbox(label="GPT Scenario"),
195
  title="GPT Generation",
@@ -197,4 +197,4 @@ generator3 = gr.Interface(
197
  theme="huggingface"
198
  )
199
 
200
- gr.Parallel(generator1, generator2, generator3).launch(share=True, debug=True)
 
164
  generator1 = gr.Interface(
165
  fn=yeollm_text,
166
  inputs=[
167
+ gr.inputs.Textbox(label="Instruction", placeholder="줄거리를 참고해서 현대 드라마 형식의 대본을 만들어줘"),
168
+ gr.inputs.Textbox(label="Summary",placeholder="대본으로 바꾸고 싶은 줄거리")
169
  ],
170
  outputs=gr.outputs.Textbox(label="Yeollm Scenario"),
171
  title="Yeollm Scenario Generation",
 
176
  generator2 = gr.Interface(
177
  fn=davinci_text,
178
  inputs=[
179
+ gr.inputs.Textbox(label="Instruction", placeholder="줄거리를 참고해서 현대 드라마 형식의 대본을 만들어줘"),
180
+ gr.inputs.Textbox(label="Summary",placeholder="대본으로 바꾸고 싶은 줄거리")
181
  ],
182
  outputs=gr.outputs.Textbox(label="Davinci Scenario"),
183
  title="Davinci Generation",
 
188
  generator3 = gr.Interface(
189
  fn=gpt_text,
190
  inputs=[
191
+ gr.inputs.Textbox(label="Instruction", placeholder="줄거리를 참고해서 현대 드라마 형식의 대본을 만들어줘"),
192
+ gr.inputs.Textbox(label="Summary",placeholder="대본으로 바꾸고 싶은 줄거리")
193
  ],
194
  outputs=gr.outputs.Textbox(label="GPT Scenario"),
195
  title="GPT Generation",
 
197
  theme="huggingface"
198
  )
199
 
200
+ gr.Parallel(generator1, generator2, generator3).launch()