Dominic0406 commited on
Commit
a3134c2
1 Parent(s): 8b34db9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -15,7 +15,7 @@ def generate_response(dialog):
15
  # 创建Gradio接口
16
  iface = gr.Interface(
17
  fn=generate_response,
18
- inputs=gr.inputs.Textbox(lines=7, placeholder="Enter your dialog here..."),
19
  outputs="text",
20
  title="GPT-2 Conversational AI",
21
  description="Enter your dialog, one message per line. The model will generate a response based on the entire conversation."
 
15
  # 创建Gradio接口
16
  iface = gr.Interface(
17
  fn=generate_response,
18
+ inputs=gr.Textbox(lines=7, placeholder="Enter your dialog here..."),
19
  outputs="text",
20
  title="GPT-2 Conversational AI",
21
  description="Enter your dialog, one message per line. The model will generate a response based on the entire conversation."