Spaces:
Runtime error
Runtime error
Update app.py
Browse files21 unmodified lines2223242526272821 unmodified lines# Process the input_text as needed# Here, we're just returning the received text for demonstration purposes#response_text = f"Processed input: {input_text}"response_text = pipe(text)return jsonify({"response": response_text}), 200else:return jsonify({"error": "No input_text provided"}), 40021 unmodified lines2223242526272821 unmodified lines# Process the input_text as needed# Here, we're just returning the received text for demonstration purposes#response_text = f"Processed input: {input_text}"response_text = pipe(input_text)return jsonify({"response": response_text}), 200else:return jsonify({"error": "No input_text provided"}), 400
app.py+1-1