Update main.py
Browse files
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.
|
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.")
|