Spaces:
Runtime error
Runtime error
Update app.py
Browse files40 unmodified lines4142434445464740 unmodified linesif __name__ == "__main__":with gr.Blocks() as demo:gr.TextBox("The Inference Takes about 1 min 30 seconds")gr.Interface(fn = generate_text, inputs = textbox1, outputs = textbox2)with gr.Row():gr.Image(value = "code.jpg")40 unmodified lines4142434445464740 unmodified linesif __name__ == "__main__":with gr.Blocks() as demo:gr.Textbox("The Inference Takes about 1 min 30 seconds")gr.Interface(fn = generate_text, inputs = textbox1, outputs = textbox2)with gr.Row():gr.Image(value = "code.jpg")
app.py+1-1