Update app.py
Browse files
app.py
CHANGED
@@ -28,5 +28,10 @@ input_text = gr.inputs.Textbox(label="入力")
|
|
28 |
button = gr.inputs.Button(label="Submit")
|
29 |
output_text = gr.outputs.Textbox(label="出力")
|
30 |
|
31 |
-
interface = gr.Interface(
|
|
|
|
|
|
|
|
|
|
|
32 |
interface.launch()
|
|
|
28 |
button = gr.inputs.Button(label="Submit")
|
29 |
output_text = gr.outputs.Textbox(label="出力")
|
30 |
|
31 |
+
interface = gr.Interface(
|
32 |
+
fn=generate_text,
|
33 |
+
input_text="text",
|
34 |
+
output_text="text",
|
35 |
+
title="Japanese Text Generation",
|
36 |
+
description="Enter a prompt in Japanese to generate text.")
|
37 |
interface.launch()
|