nchen909 commited on
Commit
7012ad7
1 Parent(s): 35727aa

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -1
main.py CHANGED
@@ -10,7 +10,7 @@ def generate_text(input_text):
10
 
11
  # 创建Gradio界面
12
  iface = gr.Interface(fn=generate_text,
13
- inputs=gr.inputs.Textbox(lines=5, placeholder="Type your prompt here..."),
14
  outputs="text",
15
  title="Text Generation with Apollo-0.5B",
16
  description="Enter some text to see how Apollo-0.5B continues it.")
 
10
 
11
  # 创建Gradio界面
12
  iface = gr.Interface(fn=generate_text,
13
+ inputs=gr.Textbox(lines=5, placeholder="Type your prompt here..."),
14
  outputs="text",
15
  title="Text Generation with Apollo-0.5B",
16
  description="Enter some text to see how Apollo-0.5B continues it.")