Spaces:
Build error
Build error
Update app.py
Browse files15 unmodified lines1617181920212215 unmodified lines# Create Gradio interfaceinputs = gr.Textbox(label="Enter a prompt", lines=2)outputs = gr.Textbox(label="Generated Text", readonly=True)def predict(prompt):output_text = asyncio.run(generate_text(prompt))15 unmodified lines1617181920212215 unmodified lines# Create Gradio interfaceinputs = gr.Textbox(label="Enter a prompt", lines=2)outputs = gr.Textbox(label="Generated Text", placeholder="Generated text will appear here", readonly=True)def predict(prompt):output_text = asyncio.run(generate_text(prompt))
app.py+1-1