Which is a compound sentence?

 - The weather might be nice, or it could start to rain.
 - The beavers gnaw on logs by the riverbank.
The first sentence is the compound sentence. It is made up of two simple sentences joined by a comma and the conjunction or.
The weather might be nice, or it could start to rain.