Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -22,5 +22,5 @@ def predict(input_text):
|
|
22 |
return pipe(f"“{input_text}”{comp_prompt}", max_length=20, num_return_sequences=1)[0]["generated_text"]
|
23 |
|
24 |
|
25 |
-
demo = gr.Interface(fn=predict, inputs="text", outputs="text", title="菜名生成", description="Input the instructions of a Chinese recipe, the model will generate the corresponding dish name
|
26 |
demo.launch()
|
|
|
22 |
return pipe(f"“{input_text}”{comp_prompt}", max_length=20, num_return_sequences=1)[0]["generated_text"]
|
23 |
|
24 |
|
25 |
+
demo = gr.Interface(fn=predict, inputs="text", outputs="text", title="菜名生成", description="Input the instructions of a Chinese recipe, the model will generate the corresponding dish name.\n输入菜谱步骤,生成菜名。")
|
26 |
demo.launch()
|