Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -43,7 +43,7 @@ def CustomChatGPT(user_input):
|
|
| 43 |
# Add text instructions on top of the input and output boxes
|
| 44 |
input_text = "ここに訂正してほしい英語の作文を置いてください。そして「Submit」を押してください:"
|
| 45 |
output_text = "訂正と説明はここに表示されます:"
|
| 46 |
-
instructions = "
|
| 47 |
|
| 48 |
# Modify the Gradio interface to include the text instructions and image
|
| 49 |
demo = gradio.Interface(fn=CustomChatGPT, inputs=gradio.inputs.Textbox(lines=5, label=input_text), outputs=gradio.outputs.Textbox(label=output_text), title="Teacher Jihan's Checking Assistant", description=instructions)
|
|
|
|
| 43 |
# Add text instructions on top of the input and output boxes
|
| 44 |
input_text = "ここに訂正してほしい英語の作文を置いてください。そして「Submit」を押してください:"
|
| 45 |
output_text = "訂正と説明はここに表示されます:"
|
| 46 |
+
instructions = "このアプリケーションは、文法と綴りをチェックするために使用できます。アプリは、修正した作文を提供し、それに続いて修正の説明を示します。アプリは、1つのパラグラフずつ入力する場合に最適に機能します。例えば、3つのパラグラフから成る作文をチェックしたい場合は、それぞれのパラグラフを「Submit」してください。つまり、プログラムを3回実行し、各パラグラフごとに1回ずつ実行してください。"
|
| 47 |
|
| 48 |
# Modify the Gradio interface to include the text instructions and image
|
| 49 |
demo = gradio.Interface(fn=CustomChatGPT, inputs=gradio.inputs.Textbox(lines=5, label=input_text), outputs=gradio.outputs.Textbox(label=output_text), title="Teacher Jihan's Checking Assistant", description=instructions)
|